diff --git a/engine/platform/sdl/vid_sdl.c b/engine/platform/sdl/vid_sdl.c index e709afeb9..dc5fb11d2 100644 --- a/engine/platform/sdl/vid_sdl.c +++ b/engine/platform/sdl/vid_sdl.c @@ -633,7 +633,10 @@ static qboolean VID_SetScreenResolution( int width, int height, window_mode_t wi void VID_RestoreScreenResolution( void ) { -#if SDL_VERSION_ATLEAST( 2, 0, 0 ) + // on mobile platform fullscreen is designed to be always on + // and code below minimizes our window if we're in full screen + // don't do that on mobile devices +#if SDL_VERSION_ATLEAST( 2, 0, 0 ) && !XASH_MOBILE_PLATFORM switch((window_mode_t)vid_fullscreen.value ) { case WINDOW_MODE_WINDOWED: