Reenable Debug Output on windows.
This commit is contained in:
parent
a35b7d1e2d
commit
68935decaa
@ -64,8 +64,10 @@ PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus;
|
|||||||
static bool is_gl_init = false;
|
static bool is_gl_init = false;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
#ifdef WIN32
|
||||||
#define ARB_DEBUG_OUTPUT
|
#define ARB_DEBUG_OUTPUT
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ARB_DEBUG_OUTPUT
|
#ifdef ARB_DEBUG_OUTPUT
|
||||||
static void
|
static void
|
||||||
@ -200,7 +202,7 @@ void initGL()
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef ARB_DEBUG_OUTPUT
|
#ifdef ARB_DEBUG_OUTPUT
|
||||||
// FIXME!!! glDebugMessageCallbackARB((GLDEBUGPROCARB)debugCallback, NULL);
|
glDebugMessageCallbackARB((GLDEBUGPROCARB)debugCallback, NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user