mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
menu display: don't cancel scissoring if the rect is empty
This commit is contained in:
parent
4e74e52518
commit
d50e326825
@ -517,10 +517,6 @@ void menu_display_scissor_begin(video_frame_info_t *video_info, int x, int y, un
|
||||
height = menu_display_framebuf_height - y;
|
||||
if ((x + width) > menu_display_framebuf_width)
|
||||
width = menu_display_framebuf_width - x;
|
||||
if (height <= 0)
|
||||
return;
|
||||
if (width <= 0)
|
||||
return;
|
||||
|
||||
menu_disp->scissor_begin(video_info, x, y, width, height);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user