summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index 44c15545f..81494d5bd 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -30,11 +30,14 @@
#include "resources/fboinfo.h"
-//#define NO_SDL_GLEXT
+#ifdef ANDROID
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#else
#define GL_GLEXT_PROTOTYPES 1
-
#include <SDL_opengl.h>
#include <GL/glext.h>
+#endif
class SafeOpenGLGraphics final : public Graphics
{