Update rcore.c
This commit is contained in:
parent
4142c89baa
commit
5fad835ff1
|
|
@ -821,7 +821,7 @@ int GetRenderWidth(void)
|
||||||
{
|
{
|
||||||
int width = 0;
|
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;
|
else width = CORE.Window.render.width;
|
||||||
|
|
||||||
return width;
|
return width;
|
||||||
|
|
@ -832,7 +832,7 @@ int GetRenderHeight(void)
|
||||||
{
|
{
|
||||||
int height = 0;
|
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;
|
else height = CORE.Window.render.height;
|
||||||
|
|
||||||
return height;
|
return height;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user