Use explicit cast to try and squelch compile error
This commit is contained in:
parent
66e98f8c70
commit
a3d80ae3eb
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue