mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
I forgot how to #ifdef apparently
This commit is contained in:
parent
81e2f2d783
commit
a666415302
|
@ -43,9 +43,9 @@ namespace Renderer
|
|||
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
|
||||
if(USE_OPENGL_ES)
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
|
||||
|
||||
#ifdef USE_OPENGL_ES
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
|
||||
#endif
|
||||
//SDL_GL_SetSwapInterval(1); //0 for immediate updates, 1 for updates synchronized with the vertical retrace, -1 for late swap tearing
|
||||
|
||||
SDL_DisplayMode dispMode;
|
||||
|
|
Loading…
Reference in a new issue