(GLUI) Flush list_block earlier

This commit is contained in:
Higor Eurípedes 2015-04-24 19:45:25 -03:00
parent 6f84b5dbe5
commit ee0ad2c165

View File

@ -494,6 +494,8 @@ static void glui_frame(void)
glui_render_menu_list(runloop, gl, glui, menu,
label, normal_color, hover_color);
menu_display_font_flush_block(menu, font_driver);
runloop->frames.video.current.menu.animation.is_active = true;
runloop->frames.video.current.menu.label.is_updated = false;
runloop->frames.video.current.menu.framebuf.dirty = false;
@ -548,8 +550,6 @@ static void glui_frame(void)
TEXT_ALIGN_RIGHT);
}
menu_display_font_flush_block(menu, font_driver);
if (menu->keyboard.display)
{
char msg[PATH_MAX_LENGTH];