diff options
author | Brian Paul <[email protected]> | 2013-06-26 11:09:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-06-26 13:12:01 -0600 |
commit | 15436adab0ae2dea5d62567326f1f3969939781b (patch) | |
tree | e4457b084b49c94fc5caf880566df7beeb5d1739 /src/mesa | |
parent | dd0b99b0beccf93cd53f42e05bc834c0fed57edf (diff) |
mesa: remove const from glDebugMessageCallbackARB() function parameter
The new 20130624 version of glext.h removed the const qualifier on
the 'userParam' parameter.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/errors.c | 4 | ||||
-rw-r--r-- | src/mesa/main/errors.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index cc652bac8f8..465420766f7 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -659,11 +659,11 @@ _mesa_DebugMessageControlARB(GLenum gl_source, GLenum gl_type, } void GLAPIENTRY -_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, const GLvoid *userParam) +_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, GLvoid *userParam) { GET_CURRENT_CONTEXT(ctx); ctx->Debug.Callback = callback; - ctx->Debug.CallbackData = (void *) userParam; + ctx->Debug.CallbackData = userParam; } void diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h index 7e7503aa984..4b376fb6075 100644 --- a/src/mesa/main/errors.h +++ b/src/mesa/main/errors.h @@ -101,7 +101,7 @@ _mesa_DebugMessageControlARB(GLenum source, GLenum type, GLenum severity, GLboolean enabled); void GLAPIENTRY _mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, - const GLvoid *userParam); + GLvoid *userParam); #ifdef __cplusplus } |