mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
gl_rasterizer: Disable scissor 0 when scissor is not used on clear
This commit is contained in:
parent
35bb9239ca
commit
3ce66776ec
1 changed files with 3 additions and 0 deletions
|
@ -452,6 +452,9 @@ void RasterizerOpenGL::Clear() {
|
|||
|
||||
if (regs.clear_flags.scissor) {
|
||||
SyncScissorTest();
|
||||
} else {
|
||||
state_tracker.NotifyScissor0();
|
||||
glDisablei(GL_SCISSOR_TEST, 0);
|
||||
}
|
||||
|
||||
// TODO(Rodrigo): Find out if blending affects clearing
|
||||
|
|
Loading…
Reference in a new issue