mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 01:07:53 -05:00
gl_rasterizer: Disable scissor 0 when scissor is not used on clear
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user