src/render/opengl/SDL_render_gl.c
changeset 10646 cc3e4b8f1a8d
parent 10531 f304bc5dd3b5
child 10650 b6ec7005ca15
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Wed Nov 23 06:54:19 2016 -0800
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Wed Nov 23 21:52:48 2016 -0500
     1.3 @@ -493,7 +493,7 @@
     1.4          PFNGLDEBUGMESSAGECALLBACKARBPROC glDebugMessageCallbackARBFunc = (PFNGLDEBUGMESSAGECALLBACKARBPROC) SDL_GL_GetProcAddress("glDebugMessageCallbackARB");
     1.5  
     1.6          data->GL_ARB_debug_output_supported = SDL_TRUE;
     1.7 -        data->glGetPointerv(GL_DEBUG_CALLBACK_FUNCTION_ARB, (GLvoid **)&data->next_error_callback);
     1.8 +        data->glGetPointerv(GL_DEBUG_CALLBACK_FUNCTION_ARB, (GLvoid **)(char *)&data->next_error_callback);
     1.9          data->glGetPointerv(GL_DEBUG_CALLBACK_USER_PARAM_ARB, &data->next_error_userparam);
    1.10          glDebugMessageCallbackARBFunc(GL_HandleDebugMessage, renderer);
    1.11