diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:24:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:24:18 +0300 |
commit | e267d1f962f7a13616139c93a168ec77ddd889b6 (patch) | |
tree | 83c532f6db48a351aaf61bf5711feebd2ef9e114 /src | |
parent | 8c45b61379b81574be6dd36f149f1b84e21648c5 (diff) | |
download | plus-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.cpp | 2 |
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 |