summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-18 18:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-18 19:00:35 +0300
commitc5558606dd366df79816ce49f902ec9f21c2c6e9 (patch)
tree1f23e3c9bf62c2419759afb14698a4a50af112cd
parent1949672a3a7c2cb3c62b71186ef8955aa6b5a52b (diff)
downloadplus-c5558606dd366df79816ce49f902ec9f21c2c6e9.tar.gz
plus-c5558606dd366df79816ce49f902ec9f21c2c6e9.tar.bz2
plus-c5558606dd366df79816ce49f902ec9f21c2c6e9.tar.xz
plus-c5558606dd366df79816ce49f902ec9f21c2c6e9.zip
Fix compilation with Android and SDL2.
-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"