mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
(GLUI) Use menu_display_update_pending (why are we flagging
framebuffer dirty here BTW? GLUI doesn't use the framebuffer)
This commit is contained in:
parent
dbd0da41a2
commit
ad0440a343
@ -63,12 +63,8 @@ static int glui_entry_iterate(unsigned action)
|
|||||||
if (!menu || !runloop)
|
if (!menu || !runloop)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (action != MENU_ACTION_NOOP || menu->need_refresh ||
|
if (action != MENU_ACTION_NOOP || menu->need_refresh || menu_display_update_pending())
|
||||||
runloop->frames.video.current.menu.label.is_updated ||
|
|
||||||
runloop->frames.video.current.menu.animation.is_active)
|
|
||||||
{
|
|
||||||
runloop->frames.video.current.menu.framebuf.dirty = true;
|
runloop->frames.video.current.menu.framebuf.dirty = true;
|
||||||
}
|
|
||||||
|
|
||||||
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
||||||
menu->menu_list->selection_buf, menu->navigation.selection_ptr);
|
menu->menu_list->selection_buf, menu->navigation.selection_ptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user