mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 14:25:09 +01:00
Only use scissor for clear rect when enabled
This commit is contained in:
parent
f93df35e6c
commit
b5d0060c3f
@ -93,7 +93,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
});
|
||||
}
|
||||
|
||||
if (clearSurfaceControl.useScissor0) {
|
||||
if (clearSurfaceControl.useScissor0 && clearEngineRegisters.scissor0.enable) {
|
||||
const auto &scissor0{clearEngineRegisters.scissor0};
|
||||
scissor = rectIntersection(scissor, {
|
||||
{scissor0.horizontal.xMin, scissor0.vertical.yMin},
|
||||
|
Loading…
Reference in New Issue
Block a user