hedgewars/uStore.pas
branchios-revival
changeset 11413 55fc715435ea
parent 11378 011c5cc195cc
child 11414 e0600c5964c7
--- a/hedgewars/uStore.pas	Tue Nov 17 15:12:24 2015 +0100
+++ b/hedgewars/uStore.pas	Tue Nov 17 15:30:36 2015 +0100
@@ -745,7 +745,11 @@
     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();