- Removed SDLTry from call to SDL_GL_SetSwapInterval
Note: "blame it on me in commit message if you want x)" sheepluva
--- 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();