(Wii U) Display scissor doesn't use inverted coordinates

Unlike the draw callback, seems the scissor callback does *not*
have an inverted y-coordinate. Yay!
This commit is contained in:
Ash Logan 2021-07-20 18:51:53 +10:00
parent 646cadba8c
commit 4621ed7dcc

View File

@ -283,7 +283,7 @@ static void gfx_display_wiiu_scissor_begin(
int x, int y,
unsigned width, unsigned height)
{
GX2SetScissor(MAX(x, 0), MAX(video_height - y - height, 0), MIN(width, video_width), MIN(height, video_height));
GX2SetScissor(MAX(x, 0), MAX(y, 0), MIN(width, video_width), MIN(height, video_height));
}
static void gfx_display_wiiu_scissor_end(