Skip to content

Commit f7fc511

Browse files
committed
Fixing sceGUScissor
1 parent e756c4c commit f7fc511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gu/sceGuScissor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ void sceGuScissor(int x, int y, int w, int h)
1414

1515
context->scissor_start[0] = x;
1616
context->scissor_start[1] = y;
17-
context->scissor_end[0] = w - 1;
18-
context->scissor_end[1] = h - 1;
17+
context->scissor_end[0] = x + w - 1;
18+
context->scissor_end[1] = y +h - 1;
1919

2020
if (context->scissor_enable)
2121
{

0 commit comments

Comments
 (0)