summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-26 20:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-26 20:05:52 +0300
commit2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20 (patch)
treeaa18fb3b84d3a09c90890b6cd189529783472e77 /src/resources/subimage.h
parentabad3f0ef49e3891ceef6844adeb139778de6738 (diff)
downloadplus-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.gz
plus-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.bz2
plus-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.tar.xz
plus-2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20.zip
fix compilation warnings with sdl2.
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