diff options
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r-- | src/safeopenglgraphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index 469c4cda0..7462d2259 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -34,7 +34,9 @@ #include <GLES/gl.h> #include <GLES/glext.h> #else +#ifndef USE_SDL2 #define GL_GLEXT_PROTOTYPES 1 +#endif #include <SDL_opengl.h> #include <GL/glext.h> #endif |