From 2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Aug 2013 20:05:52 +0300 Subject: fix compilation warnings with sdl2. --- src/safeopenglgraphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/safeopenglgraphics.h') 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 #include #else +#ifndef USE_SDL2 #define GL_GLEXT_PROTOTYPES 1 +#endif #include #include #endif -- cgit v1.2.3-70-g09d2