mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 16:41:51 +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};
|
const auto &scissor0{clearEngineRegisters.scissor0};
|
||||||
scissor = rectIntersection(scissor, {
|
scissor = rectIntersection(scissor, {
|
||||||
{scissor0.horizontal.xMin, scissor0.vertical.yMin},
|
{scissor0.horizontal.xMin, scissor0.vertical.yMin},
|
||||||
|
Loading…
Reference in New Issue
Block a user