mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02: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