summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index bb29c2b9..09aa1d8e 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1536,7 +1536,7 @@ void BeginScissorMode(int x, int y, int width, int height)
rlglDraw(); // Force drawing elements
rlEnableScissorTest();
- rlScissor(x, GetScreenHeight() - (y + height), width, height);
+ rlScissor(x, CORE.Window.currentFbo.height - (y + height), width, height);
}
// End scissor mode