Skip to content

Commit 3f7f040

Browse files
committed
Merge branch 'master' of https://github.com/raysan5/raylib
2 parents 4799cab + 4ca9170 commit 3f7f040

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/platforms/rcore_desktop_rgfw.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,11 @@ void SetWindowSize(int width, int height)
821821
CORE.Window.screen.height = height;
822822
}
823823

824+
if (!CORE.Window.usingFbo)
825+
{
826+
SetupViewport(CORE.Window.screen.width, CORE.Window.screen.height);
827+
}
828+
824829
RGFW_window_resize(platform.window, CORE.Window.screen.width, CORE.Window.screen.height);
825830
}
826831

0 commit comments

Comments
 (0)