Add support for AMD_debug_output, recently added to opengl.org repository.

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@601 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2010-05-21 19:15:29 +00:00
parent f5faea3022
commit 91fe4e2bb1
3 changed files with 12 additions and 1 deletions

View File

@ -66,6 +66,10 @@ my %typemap = (
uint64 => "GLuint64",
sync => "GLsync",
# AMD_debug_output
DEBUGPROCAMD => "GLDEBUGPROCAMD",
# GLX 1.3 defines new types which might not be available at compile time
#GLXFBConfig => "void*",

View File

@ -85,7 +85,6 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
GL_STENCIL_BACK_REF 0x8CA3
GL_STENCIL_BACK_VALUE_MASK 0x8CA4
GL_STENCIL_BACK_WRITEMASK 0x8CA5
typedef char GLchar
void glBlendEquationSeparate (GLenum, GLenum)
void glDrawBuffers (GLsizei n, const GLenum* bufs)
void glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)

View File

@ -186,6 +186,14 @@ typedef GLint64EXT GLint64;
typedef GLuint64EXT GLuint64;
typedef struct __GLsync *GLsync;
typedef char GLchar;
typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,
GLenum category,
GLenum severity,
GLsizei length,
const GLchar* message,
GLvoid* userParam);
#define GL_ACCUM 0x0100
#define GL_LOAD 0x0101
#define GL_RETURN 0x0102