on mac os x, don't use sdl_glext
This commit is contained in:
parent
fa2fbc065d
commit
3ea087b270
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue