Corrected issue
This commit is contained in:
parent
af33e3848e
commit
b6d2f96645
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue