summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapitable.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-03-11 10:47:23 +0000
committerDave Airlie <[email protected]>2012-03-11 16:50:30 +0000
commit5ea18503e757ceeb9eba32a72fdf02b7bc710275 (patch)
tree834cd1d0c4d454b5b698d96b49c0d21fe98c20bf /src/mapi/glapi/glapitable.h
parent10d3b6500bc36c163bb13783848b201793d268d3 (diff)
mapi/glapi: Fix glDebugMessageCallbackARB arg type to GLDEBUGPROCARB
Necessary to prevent type mismatches on MinGW. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mapi/glapi/glapitable.h')
-rw-r--r--src/mapi/glapi/glapitable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/glapitable.h b/src/mapi/glapi/glapitable.h
index 617ad466297..4bc95cf9446 100644
--- a/src/mapi/glapi/glapitable.h
+++ b/src/mapi/glapi/glapitable.h
@@ -705,7 +705,7 @@ struct _glapi_table
void (GLAPIENTRYP GetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 662 */
void (GLAPIENTRYP ReleaseShaderCompiler)(void); /* 663 */
void (GLAPIENTRYP ShaderBinary)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 664 */
- void (GLAPIENTRYP DebugMessageCallbackARB)(GLvoid * callback, GLvoid * userParam); /* 665 */
+ void (GLAPIENTRYP DebugMessageCallbackARB)(GLDEBUGPROCARB callback, GLvoid * userParam); /* 665 */
void (GLAPIENTRYP DebugMessageControlARB)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); /* 666 */
void (GLAPIENTRYP DebugMessageInsertARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLcharARB * buf); /* 667 */
GLuint (GLAPIENTRYP GetDebugMessageLogARB)(GLuint count, GLsizei bufsize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLcharARB * messageLog); /* 668 */