mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
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());
|
0, NULL, GLCAT.is_debug());
|
||||||
|
|
||||||
// Enable the callback.
|
// Enable the callback.
|
||||||
_glDebugMessageCallback(&debug_callback, (void*)this);
|
_glDebugMessageCallback((GLDEBUGPROC) &debug_callback, (void*)this);
|
||||||
if (gl_debug_synchronous) {
|
if (gl_debug_synchronous) {
|
||||||
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
|
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user