From b6d2f9664525de8bfd1ad3188c010e774b470d04 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 19 Dec 2018 18:08:59 +0100 Subject: Corrected issue --- src/rlgl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rlgl.h b/src/rlgl.h index 6b17dcf5..f8b5ac11 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -3289,7 +3289,7 @@ void BeginScissorMode(int x, int y, int width, int height) rlglDraw(); // Force drawing elements glEnable(GL_SCISSOR_TEST); - glScissor(x, GetScreenHeight() - (y + height), width, height); + glScissor(x, screenHeight - (y + height), width, height); rlClearScreenBuffers(); // Clear current scissor area } -- cgit v1.2.3