From 31063f868ad8ee55402862249fd4233cc441922d Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 13 Jul 2018 12:11:35 +0000 Subject: [PATCH] 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 --- src/gui/sdlmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index f99ce60b..3213f1c7 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -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);