mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-24 10:50:58 +01:00
sdl: vid: fix engine window being restored immediately after being maximized
This commit is contained in:
parent
0579ecd30f
commit
f2d588574c
@ -895,7 +895,6 @@ rserr_t R_ChangeDisplaySettings( int width, int height, qboolean fullscreen )
|
||||
VID_RestoreScreenResolution();
|
||||
if( SDL_SetWindowFullscreen( host.hWnd, 0 ) )
|
||||
return rserr_invalid_fullscreen;
|
||||
SDL_RestoreWindow( host.hWnd );
|
||||
#if SDL_VERSION_ATLEAST( 2, 0, 5 )
|
||||
SDL_SetWindowResizable( host.hWnd, true );
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user