diff --git a/ion/src/sdl/shared/main.cpp b/ion/src/sdl/shared/main.cpp index 6b8c0f3ca..3db48a272 100644 --- a/ion/src/sdl/shared/main.cpp +++ b/ion/src/sdl/shared/main.cpp @@ -58,6 +58,8 @@ void relayout() { int windowWidth = 0; int windowHeight = 0; SDL_GetWindowSize(sWindow, &windowWidth, &windowHeight); + SDL_RenderSetLogicalSize(sRenderer, windowWidth, windowHeight); + Layout::recompute(windowWidth, windowHeight); SDL_Rect backgroundRect; Layout::getBackgroundRect(&backgroundRect);