From e267d1f962f7a13616139c93a168ec77ddd889b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Sun, 22 Sep 2013 19:24:18 +0300 Subject: fix compilation with OpenGL with SDL2 on Android. --- src/graphicsmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2