hedgewars/uStore.pas
changeset 5696 972bf04d4a79
parent 5686 3f2e6ec7719a
child 5704 718f98a9df12
equal deleted inserted replaced
5695:f1015857deb8 5696:972bf04d4a79
  1004 
  1004 
  1005     SDL_SetHint('SDL_IOS_ORIENTATIONS','LandscapeLeft LandscapeRight');
  1005     SDL_SetHint('SDL_IOS_ORIENTATIONS','LandscapeLeft LandscapeRight');
  1006     flags:= flags or SDL_WINDOW_BORDERLESS or SDL_WINDOW_RESIZABLE;
  1006     flags:= flags or SDL_WINDOW_BORDERLESS or SDL_WINDOW_RESIZABLE;
  1007 {$ENDIF}
  1007 {$ENDIF}
  1008 
  1008 
  1009     if cFullScreen then SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cOrigScreenWidth, cOrigScreenHeight, flags);
  1009     if cFullScreen then SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cOrigScreenWidth, cOrigScreenHeight, flags or SDL_WINDOW_FULLSCREEN)
  1010     else SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cScreenWidth, cScreenHeight, flags);
  1010     else SDLwindow:= SDL_CreateWindow('Hedgewars', x, y, cScreenWidth, cScreenHeight, flags);
  1011     SDLTry(SDLwindow <> nil, true);
  1011     SDLTry(SDLwindow <> nil, true);
  1012 {$ELSE}
  1012 {$ELSE}
  1013     flags:= SDL_OPENGL or SDL_RESIZABLE;
  1013     flags:= SDL_OPENGL or SDL_RESIZABLE;
  1014     if cFullScreen then
  1014     if cFullScreen then