diff --git a/src/platform/sdl/runtime.cpp b/src/platform/sdl/runtime.cpp index 49bab154..69ae61cf 100644 --- a/src/platform/sdl/runtime.cpp +++ b/src/platform/sdl/runtime.cpp @@ -616,6 +616,7 @@ void Runtime::setWindowRect(int x, int y, int width, int height) { logEntered(); if (width > 0 && height > 0) { SDL_SetWindowSize(_window, width, height); + onResize(width, height); } if (x > 0 && y > 0) { SDL_SetWindowPosition(_window, x, y);