summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 78965afc9..bc08ecfd3 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -93,9 +93,8 @@
#ifdef __APPLE__
#include <OpenGL/OpenGL.h>
#endif // __APPLE__
-#ifndef USE_SDL2
#include "render/opengl/mgldefines.h"
-#endif // USE_SDL2
+RENDER_OPENGL_MGLDEFINES_H
#endif // USE_OPENGL
#include "debug.h"