use SDL_opengles2.h only when USE_GLES is defined
This commit is contained in:
parent
fca5ed8846
commit
457189bb13
|
@ -25,10 +25,10 @@
|
|||
#include <SDL2/SDL.h>
|
||||
#define GL_GLEXT_PROTOTYPES 1
|
||||
|
||||
#ifdef OSX_BUILD
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#else
|
||||
#ifdef USE_GLES
|
||||
#include <SDL2/SDL_opengles2.h>
|
||||
#else
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue