mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 11:18:15 +00:00
Let user choose to clear scissor area
This commit is contained in:
@@ -3329,8 +3329,6 @@ void BeginScissorMode(int x, int y, int width, int height)
|
|||||||
|
|
||||||
glEnable(GL_SCISSOR_TEST);
|
glEnable(GL_SCISSOR_TEST);
|
||||||
glScissor(x, screenHeight - (y + height), width, height);
|
glScissor(x, screenHeight - (y + height), width, height);
|
||||||
|
|
||||||
rlClearScreenBuffers(); // Clear current scissor area
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// End scissor mode
|
// End scissor mode
|
||||||
|
Reference in New Issue
Block a user