Corrected issue

This commit is contained in:
Ray 2018-12-19 18:08:59 +01:00
parent af33e3848e
commit b6d2f96645

View File

@ -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
}