summaryrefslogtreecommitdiff
path: root/src/render/vertexes
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/vertexes')
-rw-r--r--src/render/vertexes/openglgraphicsvertexes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/vertexes/openglgraphicsvertexes.h b/src/render/vertexes/openglgraphicsvertexes.h
index 3bc7f7f52..32c176cf6 100644
--- a/src/render/vertexes/openglgraphicsvertexes.h
+++ b/src/render/vertexes/openglgraphicsvertexes.h
@@ -33,8 +33,12 @@
#endif // USE_SDL2
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
+// ignore -Wredundant-decls for SDL 1.2
+PRAGMA45(GCC diagnostic push)
+PRAGMA45(GCC diagnostic ignored "-Wredundant-decls")
#define GL_GLEXT_LEGACY
#include <SDL_opengl.h>
+PRAGMA45(GCC diagnostic pop)
PRAGMA48(GCC diagnostic pop)
#endif // ANDROID