Update rcore.c

This commit is contained in:
Ray
2026-03-28 23:54:51 +01:00
parent 4142c89baa
commit 5fad835ff1

View File

@@ -821,7 +821,7 @@ int GetRenderWidth(void)
{
int width = 0;
if (CORE.Window.usingFbo) return CORE.Window.currentFbo.width;
if (CORE.Window.usingFbo) width = CORE.Window.currentFbo.width;
else width = CORE.Window.render.width;
return width;
@@ -832,7 +832,7 @@ int GetRenderHeight(void)
{
int height = 0;
if (CORE.Window.usingFbo) return CORE.Window.currentFbo.height;
if (CORE.Window.usingFbo) height = CORE.Window.currentFbo.height;
else height = CORE.Window.render.height;
return height;