mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
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 <jfonseca@vmware.com>
This commit is contained in:
parent
dd0b99b0be
commit
15436adab0
3 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
<function name="DebugMessageCallbackARB" offset="assign">
|
||||
<param name="callback" type="GLDEBUGPROCARB"/>
|
||||
<param name="userParam" type="const GLvoid *"/>
|
||||
<param name="userParam" type="GLvoid *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetDebugMessageLogARB" offset="assign">
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue