summaryrefslogtreecommitdiff
path: root/src/render/vertexes/openglgraphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-31 21:42:15 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-31 21:46:40 +0300
commitbdbab22de6556e904343d5d4bb21c20595f57b0b (patch)
treec3bca4cd18b12c8911e999389fd36979369de9c1 /src/render/vertexes/openglgraphicsvertexes.h
parent27004e91dc0f1a38886008d419b85e5fdbab369c (diff)
downloadmanaverse-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.gz
manaverse-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.bz2
manaverse-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.xz
manaverse-bdbab22de6556e904343d5d4bb21c20595f57b0b.zip
Fix compilation warnings with new mesa and SDL 1.2
Add workaround to fix SDL redefine bug.
Diffstat (limited to 'src/render/vertexes/openglgraphicsvertexes.h')
-rw-r--r--src/render/vertexes/openglgraphicsvertexes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/vertexes/openglgraphicsvertexes.h b/src/render/vertexes/openglgraphicsvertexes.h
index 88661d3a8..3bc7f7f52 100644
--- a/src/render/vertexes/openglgraphicsvertexes.h
+++ b/src/render/vertexes/openglgraphicsvertexes.h
@@ -33,6 +33,7 @@
#endif // USE_SDL2
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
+#define GL_GLEXT_LEGACY
#include <SDL_opengl.h>
PRAGMA48(GCC diagnostic pop)
#endif // ANDROID