Use explicit cast to try and squelch compile error

This commit is contained in:
rdb 2014-07-03 22:06:51 +00:00
parent 66e98f8c70
commit a3d80ae3eb

View File

@ -476,7 +476,7 @@ reset() {
0, NULL, GLCAT.is_debug());
// Enable the callback.
_glDebugMessageCallback(&debug_callback, (void*)this);
_glDebugMessageCallback((GLDEBUGPROC) &debug_callback, (void*)this);
if (gl_debug_synchronous) {
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
}