1
0
Fork 0

disable swap control on all platforms and not just win32. Thanks for testing ny00123

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4132
This commit is contained in:
Peter Veenstra 2018-07-13 12:11:35 +00:00
parent 2ec871f0e1
commit 31063f868a

View file

@ -686,7 +686,7 @@ dosurface:
goto dosurface;
}
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
#if defined (WIN32) && SDL_VERSION_ATLEAST(1, 2, 11)
#if SDL_VERSION_ATLEAST(1, 2, 11)
SDL_GL_SetAttribute( SDL_GL_SWAP_CONTROL, 0 );
#endif
GFX_SetupSurfaceScaled(SDL_OPENGL,0);