hedgewars/uStore.pas
changeset 5018 cede79695460
parent 5004 2efa6a414518
child 5043 2df62e1a6c02
--- a/hedgewars/uStore.pas	Thu Mar 17 16:42:59 2011 +0100
+++ b/hedgewars/uStore.pas	Thu Mar 17 22:35:46 2011 +0100
@@ -930,7 +930,7 @@
         y:= {$IFDEF IPHONEOS}(SDL_WINDOWPOS_CENTERED_MASK or (SDL_GetNumVideoDisplays() - 1)){$ELSE}0{$ENDIF};
         SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cScreenWidth, cScreenHeight, SDL_WINDOW_OPENGL or SDL_WINDOW_SHOWN
                         {$IFDEF IPHONEOS} or SDL_WINDOW_BORDERLESS {$ENDIF});
-        SDLrender:= SDL_CreateRenderer(SDLwindow, -1, 1 and 2);
+        SDLrender:= SDL_CreateRenderer(SDLwindow, -1, SDL_RENDERER_ACCELERATED or SDL_RENDERER_PRESENTVSYNC);
     end;
 
     SDL_SetRenderDrawColor(SDLrender, 0, 0, 0, 255);