summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapitemp.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/glapitemp.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/glapitemp.h')
-rw-r--r--src/mapi/glapi/glapitemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/glapitemp.h b/src/mapi/glapi/glapitemp.h
index 3830f2ff8c3..b018c757323 100644
--- a/src/mapi/glapi/glapitemp.h
+++ b/src/mapi/glapi/glapitemp.h
@@ -5253,7 +5253,7 @@ KEYWORD1 void KEYWORD2 NAME(ShaderBinary)(GLsizei n, const GLuint * shaders, GLe
DISPATCH(ShaderBinary, (n, shaders, binaryformat, binary, length), (F, "glShaderBinary(%d, %p, 0x%x, %p, %d);\n", n, (const void *) shaders, binaryformat, (const void *) binary, length));
}
-KEYWORD1 void KEYWORD2 NAME(DebugMessageCallbackARB)(GLvoid * callback, GLvoid * userParam)
+KEYWORD1 void KEYWORD2 NAME(DebugMessageCallbackARB)(GLDEBUGPROCARB callback, GLvoid * userParam)
{
(void) callback; (void) userParam;
DISPATCH(DebugMessageCallbackARB, (callback, userParam), (F, "glDebugMessageCallbackARB(%p, %p);\n", (const void *) callback, (const void *) userParam));