mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
(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:
parent
646cadba8c
commit
4621ed7dcc
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user