From 2216f6004650e8e952916b8547186c68d164ffd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Sun, 8 Mar 2015 16:39:21 -0300 Subject: [PATCH] (RGUI) Fix Video Settings page --- menu/drivers/rgui.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index ae5830dfac..f28b0a362a 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -45,10 +45,11 @@ static int rgui_entry_iterate(unsigned action) if (!menu->menu_list) 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.label.is_updated = true; } @@ -347,7 +348,8 @@ static void rgui_render(void) && !g_runloop.frames.video.current.menu.label.is_updated) 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.label.is_updated = false;