summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2018-12-19 18:08:59 +0100
committerRay <[email protected]>2018-12-19 18:08:59 +0100
commitb6d2f9664525de8bfd1ad3188c010e774b470d04 (patch)
tree05f57b705c65e894569f75056096f0506d1c49b3
parentaf33e3848ece9b7faa6816efec98d22711f65e2e (diff)
downloadraylib-b6d2f9664525de8bfd1ad3188c010e774b470d04.tar.gz
raylib-b6d2f9664525de8bfd1ad3188c010e774b470d04.zip
Corrected issue
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
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
}