summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index b16c63fbf..53de59c46 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -24,6 +24,10 @@
#include "main.h"
#ifdef USE_OPENGL
+
+#ifdef ANDROID
+#include <GLES/gl.h>
+#else
#define GL_GLEXT_PROTOTYPES 1
#include <SDL_opengl.h>
// hack to hide warnings
@@ -31,6 +35,8 @@
#undef GL_GLEXT_PROTOTYPES
#endif
+#endif
+
#include <set>
#include <string>