summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r--src/render/safeopenglgraphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index 079ea9d31..50364590d 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -23,7 +23,9 @@
#if defined USE_OPENGL && !defined ANDROID
#include "render/safeopenglgraphics.h"
+#ifdef DEBUG_OPENGL
#include "render/opengl/mgl.h"
+#endif // DEBUG_OPENGL
#include "resources/imagerect.h"
#include "resources/safeopenglimagehelper.h"