diff --git a/src/core.c b/src/core.c index bb29c2b9c..09aa1d8ec 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