summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r--src/mobileopenglgraphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mobileopenglgraphics.h b/src/mobileopenglgraphics.h
index c41a15a04..307ff5f2f 100644
--- a/src/mobileopenglgraphics.h
+++ b/src/mobileopenglgraphics.h
@@ -36,7 +36,9 @@
#include <GLES/glext.h>
#include <GLES2/gl2.h>
#else
+#ifndef USE_SDL2
#define GL_GLEXT_PROTOTYPES 1
+#endif
#include <SDL_opengl.h>
#include <GL/glext.h>
#endif