projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8219581
)
mesa: fix _mesa_DebugMessageCallbackARB() to silence warnings
author
Brian Paul
<brianp@vmware.com>
Mon, 12 Mar 2012 18:44:48 +0000
(12:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 12 Mar 2012 18:54:25 +0000
(12:54 -0600)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/errors.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/errors.c
b/src/mesa/main/errors.c
index 22561003a6f3590f98eccf11710b0411cdf7da11..fcf873f18c285cb89cabd9e2ce075e9735cbbd98 100644
(file)
--- a/
src/mesa/main/errors.c
+++ b/
src/mesa/main/errors.c
@@
-718,10
+718,10
@@
_mesa_DebugMessageControlARB(GLenum source, GLenum type, GLenum severity,
}
static void GLAPIENTRY
-_mesa_DebugMessageCallbackARB(GL
void *
callback, GLvoid *userParam)
+_mesa_DebugMessageCallbackARB(GL
DEBUGPROCARB
callback, GLvoid *userParam)
{
GET_CURRENT_CONTEXT(ctx);
- ctx->Debug.Callback =
(GLDEBUGPROCARB)
callback;
+ ctx->Debug.Callback = callback;
ctx->Debug.CallbackData = userParam;
}