Actually, maybe even better call SetupViewport()
This commit is contained in:
parent
9ea2f3bf61
commit
1e2d60c3b9
|
|
@ -823,8 +823,7 @@ void SetWindowSize(int width, int height)
|
||||||
|
|
||||||
if (!CORE.Window.usingFbo)
|
if (!CORE.Window.usingFbo)
|
||||||
{
|
{
|
||||||
CORE.Window.render.width = CORE.Window.screen.width;
|
SetupViewport(CORE.Window.screen.width, CORE.Window.screen.height);
|
||||||
CORE.Window.render.height = CORE.Window.screen.height;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RGFW_window_resize(platform.window, CORE.Window.screen.width, CORE.Window.screen.height);
|
RGFW_window_resize(platform.window, CORE.Window.screen.width, CORE.Window.screen.height);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user