summaryrefslogtreecommitdiff
path: root/src/normalopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalopenglgraphics.h')
-rw-r--r--src/normalopenglgraphics.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h
index b6a09728e..35bdf557e 100644
--- a/src/normalopenglgraphics.h
+++ b/src/normalopenglgraphics.h
@@ -31,11 +31,15 @@
#include "resources/fboinfo.h"
-//#define NO_SDL_GLEXT
+#ifdef ANDROID
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#include <GLES2/gl2.h>
+#else
#define GL_GLEXT_PROTOTYPES 1
-
#include <SDL_opengl.h>
#include <GL/glext.h>
+#endif
#include <set>