diff --git a/auto/bin/parse_spec.pl b/auto/bin/parse_spec.pl index 6f2213e..445bdf3 100755 --- a/auto/bin/parse_spec.pl +++ b/auto/bin/parse_spec.pl @@ -60,6 +60,12 @@ my %typemap = ( charARB => "GLcharARB", handleARB => "GLhandleARB", + # OpenGL 3.2 and GL_ARB_sync + + int64 => "GLint64", + uint64 => "GLuint64", + sync => "GLsync", + # GLX 1.3 defines new types which might not be available at compile time #GLXFBConfig => "void*", @@ -112,6 +118,8 @@ my %fnc_ignore_list = ( "ProgramLocalParameter4fARB" => "ARB_vertex_program", "ProgramLocalParameter4fvARB" => "ARB_vertex_program", "ProgramStringARB" => "ARB_vertex_program", + "glXCreateContextAttribsARB" => "GLX_ARB_create_context", + "wglCreateContextAttribsARB" => "WGL_ARB_create_context", ); my %regex = ( diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index bfa7c9e..cffa472 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -174,6 +174,9 @@ typedef unsigned long long GLuint64EXT; typedef int64_t GLint64EXT; typedef uint64_t GLuint64EXT; #endif +typedef GLint64EXT GLint64; +typedef GLuint64EXT GLuint64; +typedef struct __GLsync *GLsync; #define GL_ACCUM 0x0100 #define GL_LOAD 0x0101