Reenable Debug Output on windows.

This commit is contained in:
vlj 2014-03-21 01:44:14 +01:00
parent a35b7d1e2d
commit 68935decaa

View File

@ -64,8 +64,10 @@ PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus;
static bool is_gl_init = false;
#ifdef DEBUG
#ifdef WIN32
#define ARB_DEBUG_OUTPUT
#endif
#endif
#ifdef ARB_DEBUG_OUTPUT
static void
@ -200,7 +202,7 @@ void initGL()
#endif
#endif
#ifdef ARB_DEBUG_OUTPUT
// FIXME!!! glDebugMessageCallbackARB((GLDEBUGPROCARB)debugCallback, NULL);
glDebugMessageCallbackARB((GLDEBUGPROCARB)debugCallback, NULL);
#endif
}