diff --git a/Platforms/Game/.SDL2/SDLGameWindow.cs b/Platforms/Game/.SDL2/SDLGameWindow.cs index e26c943bc..94ef14aa2 100644 --- a/Platforms/Game/.SDL2/SDLGameWindow.cs +++ b/Platforms/Game/.SDL2/SDLGameWindow.cs @@ -623,12 +623,12 @@ internal void EndCreateDevice(int clientWidth, int clientHeight, bool willBeFull } 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; }