mirror of
https://github.com/edubart/otclient.git
synced 2025-12-03 08:26:50 +01:00
enable ogl debug with ifdefs
This commit is contained in:
@@ -45,7 +45,7 @@ void Graphics::init()
|
||||
if(err != GLEW_OK)
|
||||
logFatal("Unable to init GLEW: ", glewGetErrorString(err));
|
||||
|
||||
#ifndef NDEBUG
|
||||
#ifdef DEBUG_OPENGL
|
||||
if(GLEW_ARB_debug_output)
|
||||
glDebugMessageCallbackARB(oglDebugCallback, NULL);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user