mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 08:31:56 +00:00
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:
parent
75a173df62
commit
96a9cfd886
@ -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 = (
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user