mesa: more const qualifiers to match the latest glext.h
For some reason regular gcc on Linux didn't catch these but the mingw compiler did (generated errors, not warnings). v2: include the changes in src/mapi/ too
This commit is contained in:
@@ -718,11 +718,11 @@ _mesa_DebugMessageControlARB(GLenum source, GLenum type, GLenum severity,
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, GLvoid *userParam)
|
||||
_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback, const GLvoid *userParam)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
ctx->Debug.Callback = callback;
|
||||
ctx->Debug.CallbackData = userParam;
|
||||
ctx->Debug.CallbackData = (void *) userParam;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user