mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 20:17:54 +00:00
gl_rasterizer: Disable scissor 0 when scissor is not used on clear
This commit is contained in:
parent
a48930ac7c
commit
084a112d6c
1 changed files with 3 additions and 0 deletions
|
@ -452,6 +452,9 @@ void RasterizerOpenGL::Clear() {
|
||||||
|
|
||||||
if (regs.clear_flags.scissor) {
|
if (regs.clear_flags.scissor) {
|
||||||
SyncScissorTest();
|
SyncScissorTest();
|
||||||
|
} else {
|
||||||
|
state_tracker.NotifyScissor0();
|
||||||
|
glDisablei(GL_SCISSOR_TEST, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(Rodrigo): Find out if blending affects clearing
|
// TODO(Rodrigo): Find out if blending affects clearing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue