hedgewars/uStore.pas
changeset 5696 972bf04d4a79
parent 5686 3f2e6ec7719a
child 5704 718f98a9df12
--- a/hedgewars/uStore.pas	Sat Aug 27 17:53:35 2011 -0400
+++ b/hedgewars/uStore.pas	Sun Aug 28 11:38:24 2011 +0200
@@ -1006,7 +1006,7 @@
     flags:= flags or SDL_WINDOW_BORDERLESS or SDL_WINDOW_RESIZABLE;
 {$ENDIF}
 
-    if cFullScreen then SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cOrigScreenWidth, cOrigScreenHeight, flags);
+    if cFullScreen then SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cOrigScreenWidth, cOrigScreenHeight, flags or SDL_WINDOW_FULLSCREEN)
     else SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cScreenWidth, cScreenHeight, flags);
     SDLTry(SDLwindow <> nil, true);
 {$ELSE}