mirror of https://github.com/sm64pc/sm64pc.git
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>
|
#include <SDL2/SDL.h>
|
||||||
#define GL_GLEXT_PROTOTYPES 1
|
#define GL_GLEXT_PROTOTYPES 1
|
||||||
|
|
||||||
#ifdef OSX_BUILD
|
#ifdef USE_GLES
|
||||||
#include <SDL2/SDL_opengl.h>
|
|
||||||
#else
|
|
||||||
#include <SDL2/SDL_opengles2.h>
|
#include <SDL2/SDL_opengles2.h>
|
||||||
|
#else
|
||||||
|
#include <SDL2/SDL_opengl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue