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