mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XMB) Only apply gl_set_viewport at the end when libretro pause is set
to off - will provide a performance increase
This commit is contained in:
parent
1aa20f3474
commit
87661de516
@ -1374,7 +1374,8 @@ static void xmb_frame(void)
|
||||
if (menu->mouse.enable)
|
||||
xmb_draw_cursor(gl, xmb, menu->mouse.x, menu->mouse.y);
|
||||
|
||||
gl_set_viewport(gl, gl->win_width, gl->win_height, false, true);
|
||||
if (!g_settings.menu.pause_libretro)
|
||||
gl_set_viewport(gl, gl->win_width, gl->win_height, false, true);
|
||||
}
|
||||
|
||||
static void *xmb_init(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user