author | antonc27 <antonc27@mail.ru> |
Tue, 17 Nov 2015 15:30:36 +0100 | |
branch | ios-revival |
changeset 11408 | 55fc715435ea |
parent 11407 | 7ed8fa4a2b6a |
child 11409 | 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();