diff --git a/Source/Engine/Platform/SDL/SDLWindow.cpp b/Source/Engine/Platform/SDL/SDLWindow.cpp index 37d89a211..51ddf3479 100644 --- a/Source/Engine/Platform/SDL/SDLWindow.cpp +++ b/Source/Engine/Platform/SDL/SDLWindow.cpp @@ -618,8 +618,8 @@ void SDLWindow::SetClientBounds(const Rectangle& clientArea) int newW = static_cast(clientArea.GetWidth()); int newH = static_cast(clientArea.GetHeight()); - SetSDLWindowScreenPosition(this, newPos); SDL_SetWindowSize(_window, newW, newH); + SetSDLWindowScreenPosition(this, newPos); } void GetRelativeWindowOffset(WindowType type, SDLWindow* parentWindow, Int2& positionOffset)