(Menu) Only call rarch_render_cached_frame when a state change has

occurred that requires the video state to be flushed
This commit is contained in:
Twinaphex 2015-03-08 17:26:19 +01:00
parent 001540d25d
commit 4eb2c8f4a7

View File

@ -47,8 +47,11 @@ static void draw_frame(void)
return;
}
}
rarch_render_cached_frame();
if (g_runloop.frames.video.current.menu.action.active ||
g_runloop.frames.video.current.menu.animation.is_active ||
g_runloop.frames.video.current.menu.label.is_updated)
rarch_render_cached_frame();
}
/**