engine: platform: sdl: let platform decide where to put our fullscreen window

This commit is contained in:
Oleg 2025-02-08 14:07:54 +03:00 committed by Alibek Omarov
parent 241fab02b1
commit 8307f671d4

View file

@ -795,7 +795,7 @@ qboolean VID_CreateWindow( int width, int height, window_mode_t window_mode )
else
SetBits( wndFlags, SDL_WINDOW_FULLSCREEN_DESKTOP );
SetBits( wndFlags, SDL_WINDOW_BORDERLESS );
xpos = ypos = 0;
xpos = ypos = SDL_WINDOWPOS_UNDEFINED;
}
if( !VID_CreateWindowWithSafeGL( wndname, xpos, ypos, width, height, wndFlags ))