diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-26 20:05:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-26 20:05:52 +0300 |
commit | 2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20 (patch) | |
tree | aa18fb3b84d3a09c90890b6cd189529783472e77 /src/normalopenglgraphics.h | |
parent | abad3f0ef49e3891ceef6844adeb139778de6738 (diff) | |
download | manaverse-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.gz manaverse-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.bz2 manaverse-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.xz manaverse-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.zip |
fix compilation warnings with sdl2.
Diffstat (limited to 'src/normalopenglgraphics.h')
-rw-r--r-- | src/normalopenglgraphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h index 3b6dc0c19..6c6a62a77 100644 --- a/src/normalopenglgraphics.h +++ b/src/normalopenglgraphics.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 |