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/graphicsmanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graphicsmanager.h') diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index cca1e5898..ac91d7bd8 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -28,7 +28,9 @@ #ifdef ANDROID #include #else +#ifndef USE_SDL2 #define GL_GLEXT_PROTOTYPES 1 +#endif #include // hack to hide warnings #undef GL_GLEXT_VERSION -- cgit v1.2.3-60-g2f50