diff --git a/Platforms/Game/.SDL2/SDLGameWindow.cs b/Platforms/Game/.SDL2/SDLGameWindow.cs index c336d2af8..e26c943bc 100644 --- a/Platforms/Game/.SDL2/SDLGameWindow.cs +++ b/Platforms/Game/.SDL2/SDLGameWindow.cs @@ -527,12 +527,12 @@ internal void EndScreenDeviceChange(int clientWidth, int clientHeight, bool will } else { + SDL.WINDOW.SetSize(Handle, clientWidth, clientHeight); SDL.WINDOW.SetFullscreen(Handle, Sdl.Window.State.Fullscreen); // If going to exclusive full-screen mode, force the window to minimize on focus loss (Windows only) if (CurrentPlatform.OS == OS.Windows) SDL.SetHint("SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS", "1" ); - SDL.WINDOW.SetSize(Handle, clientWidth, clientHeight); _width = clientWidth; _height = clientHeight; }