# HG changeset patch # User antonc27 # Date 1447774460 -3600 # Node ID e0600c5964c78e1ba18d3696b3ad1fceabee8d6a # Parent 55fc715435eacc5bbf157c8e6b8f7386b4d4fa12 - Removed SDLTry from call to SDL_GL_SetSwapInterval Note: "blame it on me in commit message if you want x)" sheepluva diff -r 55fc715435ea -r e0600c5964c7 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();