From 68935decaa5e9ef7d7ec6e6a7b2eb90b4bf84b24 Mon Sep 17 00:00:00 2001 From: vlj Date: Fri, 21 Mar 2014 01:44:14 +0100 Subject: [PATCH] Reenable Debug Output on windows. --- src/graphics/glwrap.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index b9a4f2caa..d4da39c11 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -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 }