summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index cca1e5898..ac91d7bd8 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -28,7 +28,9 @@
#ifdef ANDROID
#include <GLES/gl.h>
#else
+#ifndef USE_SDL2
#define GL_GLEXT_PROTOTYPES 1
+#endif
#include <SDL_opengl.h>
// hack to hide warnings
#undef GL_GLEXT_VERSION