summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r--src/resources/subimage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h
index 5322f9a71..d61d47eb4 100644
--- a/src/resources/subimage.h
+++ b/src/resources/subimage.h
@@ -33,7 +33,9 @@
#ifdef ANDROID
#include <GLES/gl.h>
#else
+#ifndef USE_SDL2
#define GL_GLEXT_PROTOTYPES 1
+#endif
#include <SDL_opengl.h>
#endif