reset windowsize on normal fullscreen mode
This commit is contained in:
1 parent
a54384a579
commit
85c7216eaa
1 file changed
+1
@@ -239,6 +239,7 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen)
|
||||
if (fullscreen && cv_fullscreen.value == 1)
|
||||
{
|
||||
wasfullscreen = SDL_TRUE;
|
||||
SDL_SetWindowSize(window, width, height);
|
||||
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
}
|
||||
else if (fullscreen && cv_fullscreen.value == 2)
|
||||
|
||||
Reference in new issue
Block a user