mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(RGUI) Fix Video Settings page
This commit is contained in:
parent
f74f44d8d1
commit
2216f60046
@ -45,10 +45,11 @@ static int rgui_entry_iterate(unsigned action)
|
|||||||
if (!menu->menu_list)
|
if (!menu->menu_list)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (action != MENU_ACTION_NOOP || menu->need_refresh)
|
if (action != MENU_ACTION_NOOP || menu->need_refresh ||
|
||||||
|
g_runloop.frames.video.current.menu.label.is_updated ||
|
||||||
|
g_runloop.frames.video.current.menu.animation.is_active)
|
||||||
{
|
{
|
||||||
g_runloop.frames.video.current.menu.framebuf.dirty = true;
|
g_runloop.frames.video.current.menu.framebuf.dirty = true;
|
||||||
g_runloop.frames.video.current.menu.label.is_updated = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -347,7 +348,8 @@ static void rgui_render(void)
|
|||||||
&& !g_runloop.frames.video.current.menu.label.is_updated)
|
&& !g_runloop.frames.video.current.menu.label.is_updated)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* framebuf.dirty will be cleared in set_texture() */
|
/* ensures the framebuffer will be rendered on the screen */
|
||||||
|
g_runloop.frames.video.current.menu.framebuf.dirty = true;
|
||||||
g_runloop.frames.video.current.menu.animation.is_active = false;
|
g_runloop.frames.video.current.menu.animation.is_active = false;
|
||||||
g_runloop.frames.video.current.menu.label.is_updated = false;
|
g_runloop.frames.video.current.menu.label.is_updated = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user