summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-22 19:24:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-22 19:24:18 +0300
commite267d1f962f7a13616139c93a168ec77ddd889b6 (patch)
tree83c532f6db48a351aaf61bf5711feebd2ef9e114 /src
parent8c45b61379b81574be6dd36f149f1b84e21648c5 (diff)
downloadplus-e267d1f962f7a13616139c93a168ec77ddd889b6.tar.gz
plus-e267d1f962f7a13616139c93a168ec77ddd889b6.tar.bz2
plus-e267d1f962f7a13616139c93a168ec77ddd889b6.tar.xz
plus-e267d1f962f7a13616139c93a168ec77ddd889b6.zip
fix compilation with OpenGL with SDL2 on Android.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 7ce307e99..587938798 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -27,7 +27,9 @@
#include <GLES2/gl2.h>
#include <GLES/glext.h>
#include <EGL/egl.h>
+#ifndef USE_SDL2
#include <SDL_android.h>
+#endif
#else
#include "GL/glx.h"
#endif