engine: platform: sdl: let platform decide where to put our fullscreen window
This commit is contained in:
parent
241fab02b1
commit
8307f671d4
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ qboolean VID_CreateWindow( int width, int height, window_mode_t window_mode )
|
||||||
else
|
else
|
||||||
SetBits( wndFlags, SDL_WINDOW_FULLSCREEN_DESKTOP );
|
SetBits( wndFlags, SDL_WINDOW_FULLSCREEN_DESKTOP );
|
||||||
SetBits( wndFlags, SDL_WINDOW_BORDERLESS );
|
SetBits( wndFlags, SDL_WINDOW_BORDERLESS );
|
||||||
xpos = ypos = 0;
|
xpos = ypos = SDL_WINDOWPOS_UNDEFINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !VID_CreateWindowWithSafeGL( wndname, xpos, ypos, width, height, wndFlags ))
|
if( !VID_CreateWindowWithSafeGL( wndname, xpos, ypos, width, height, wndFlags ))
|
||||||
|
|
Loading…
Add table
Reference in a new issue