- Removed SDLTry from call to SDL_GL_SetSwapInterval ios-revival
authorantonc27 <antonc27@mail.ru>
Tue, 17 Nov 2015 16:34:20 +0100
branchios-revival
changeset 11414 e0600c5964c7
parent 11413 55fc715435ea
child 11416 0566458ffdfc
- Removed SDLTry from call to SDL_GL_SetSwapInterval Note: "blame it on me in commit message if you want x)" sheepluva
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Tue Nov 17 15:30:36 2015 +0100
+++ b/hedgewars/uStore.pas	Tue Nov 17 16:34:20 2015 +0100
@@ -745,11 +745,7 @@
     if SDLGLcontext = nil then
         SDLGLcontext:= SDL_GL_CreateContext(SDLwindow);
     SDLTry(SDLGLcontext <> nil, 'SDLGLcontext', true);
- {$IFNDEF MOBILE}
-    SDLTry(SDL_GL_SetSwapInterval(1) = 0, 'SDL_GL_SetSwapInterval', true);
- {$ELSE}
     SDL_GL_SetSwapInterval(1);
- {$ENDIF}
 
     RendererSetup();