on mac os x, don't use sdl_glext

This commit is contained in:
Tim Felgentreff 2015-11-24 16:03:37 +01:00
parent fa2fbc065d
commit 3ea087b270

View file

@ -40,7 +40,14 @@
#endif
#ifdef USE_OPENGL
#ifdef __APPLE__
#define NO_SDL_GLEXT
#include "SDL_opengl.h"
#include "OpenGL/glu.h"
#include "OpenGL/glext.h"
#else
#include "SDL_opengl.h"
#endif
#include "shaders.h"
#endif