Skip to content

Commit 6a32e2f

Browse files
committed
Fix scissor causing graphical issues
1 parent c1debe8 commit 6a32e2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gu/sceGuEnable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void sceGuEnable(int state)
2727
context->scissor_enable = 1;
2828
sendCommandi(SCISSOR1, orig);
2929
sendCommandi(SCISSOR2, end);
30-
sendCommandi(REGION1, orig);
30+
sendCommandi(REGION1, 0);
3131
sendCommandi(REGION2, end);
3232
}
3333
break;

src/gu/sceGuScissor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void sceGuScissor(int x, int y, int w, int h)
2424

2525
sendCommandi(SCISSOR1, orig);
2626
sendCommandi(SCISSOR2, end);
27-
sendCommandi(REGION1, orig);
27+
sendCommandi(REGION1, 0);
2828
sendCommandi(REGION2, end);
2929
}
3030
}

0 commit comments

Comments
 (0)