tags 383923 + patch
thanks

* Martin Michlmayr <[EMAIL PROTECTED]> [2006-08-20 19:53]:
> Some background information about why this code is no longer
> accepted can be found at
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278

Here's a patch.

--- ./bogl/gl/extensions/arb_shader_objects_decl_p.h~   2007-02-03 
15:33:24.000000000 +0000
+++ ./bogl/gl/extensions/arb_shader_objects_decl_p.h    2007-02-03 
15:33:36.000000000 +0000
@@ -37,7 +37,7 @@
        typedef GLhandleARB (*_glCreateShaderObjectARB) (GLenum);
        typedef GLvoid (*_glShaderSourceARB) (GLhandleARB, GLsizei, const 
GLcharARB**, const GLint*);
        typedef GLvoid (*_glCompileShaderARB) (GLhandleARB);
-       typedef GLhandleARB (*_glCreateProgramObjectARB) (GLvoid);
+       typedef GLhandleARB (*_glCreateProgramObjectARB) (void);
        typedef GLvoid (*_glAttachObjectARB) (GLhandleARB, GLhandleARB);
        typedef GLvoid (*_glLinkProgramARB) (GLhandleARB);
        typedef GLvoid (*_glUseProgramObjectARB) (GLhandleARB);
--- ./bogl/gl/bogl_2_0_decl_p.h~        2007-02-03 15:34:30.000000000 +0000
+++ ./bogl/gl/bogl_2_0_decl_p.h 2007-02-03 15:34:38.000000000 +0000
@@ -290,7 +290,7 @@
        typedef GLvoid (*_glShaderSource)(GLuint, GLsizei, const GLchar**, 
const GLint*);
        typedef GLvoid (*_glCompileShader)(GLuint);
        typedef GLvoid (*_glDeleteShader)(GLuint);
-       typedef GLuint (*_glCreateProgram)(GLvoid);
+       typedef GLuint (*_glCreateProgram)(void);
        typedef GLvoid (*_glAttachShader)(GLuint, GLuint);
        typedef GLvoid (*_glDetachShader)(GLuint, GLuint);
        typedef GLvoid (*_glLinkProgram)(GLuint);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to