Merge pull request #12681 from QuarkTheAwesome/gx2-scissorfix

(Wii U) Fix Ozone rendering error
This commit is contained in:
Autechre 2021-07-20 14:58:53 +02:00 committed by GitHub
commit be89054d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(