summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index 69d391864..789e9fd34 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -27,11 +27,15 @@
#include "localconsts.h"
#ifdef USE_OPENGL
-//#define NO_SDL_GLEXT
+
+#ifdef ANDROID
+#include <GLES/gl.h>
+#else
#define GL_GLEXT_PROTOTYPES 1
+#include <SDL/SDL_opengl.h>
+#endif
#include <SDL/SDL.h>
-#include <SDL/SDL_opengl.h>
#include "safeopenglgraphics.h"
#include "normalopenglgraphics.h"