Skip to content

Commit 56cd8db

Browse files
authored
Merge pull request #179 from chrisws/12_26
SDL: fixed an issue with window resizing #144
2 parents 8bd353d + 7c84dbd commit 56cd8db

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)