Add support for GLint64, GLuint64 and GLsync

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@557 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2009-08-05 14:11:26 +00:00
parent 75a173df62
commit 96a9cfd886
2 changed files with 11 additions and 0 deletions

View File

@ -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 = (

View File

@ -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