Skip to content

Commit 7c84dbd

Browse files
committed
SDL: fixed an issue with window resizing smallbasic#144
1 parent 01d128a commit 7c84dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/platform/sdl/runtime.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ void Runtime::setWindowRect(int x, int y, int width, int height) {
616616
logEntered();
617617
if (width > 0 && height > 0) {
618618
SDL_SetWindowSize(_window, width, height);
619+
onResize(width, height);
619620
}
620621
if (x > 0 && y > 0) {
621622
SDL_SetWindowPosition(_window, x, y);

0 commit comments

Comments
 (0)