mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 03:08:24 +00:00
Corrected issue
This commit is contained in:
@@ -3289,7 +3289,7 @@ void BeginScissorMode(int x, int y, int width, int height)
|
|||||||
rlglDraw(); // Force drawing elements
|
rlglDraw(); // Force drawing elements
|
||||||
|
|
||||||
glEnable(GL_SCISSOR_TEST);
|
glEnable(GL_SCISSOR_TEST);
|
||||||
glScissor(x, GetScreenHeight() - (y + height), width, height);
|
glScissor(x, screenHeight - (y + height), width, height);
|
||||||
|
|
||||||
rlClearScreenBuffers(); // Clear current scissor area
|
rlClearScreenBuffers(); // Clear current scissor area
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user