diff options
author | Brian Paul <[email protected]> | 2012-03-12 12:44:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-12 12:54:25 -0600 |
commit | 6830e6515c840ff98a2ee5eb61e33dd5fb4d1ee2 (patch) | |
tree | bcda0827b275f0c0ee985d298a6f8e5eeb991ffa /src/mesa/main | |
parent | 82195815ec0422d5a762397b8717239861dc6800 (diff) |
mesa: fix _mesa_DebugMessageCallbackARB() to silence warnings
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 22561003a6f..fcf873f18c2 100644 --- 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(GLvoid *callback, GLvoid *userParam) +_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, GLvoid *userParam) { GET_CURRENT_CONTEXT(ctx); - ctx->Debug.Callback = (GLDEBUGPROCARB)callback; + ctx->Debug.Callback = callback; ctx->Debug.CallbackData = userParam; } |