(Lakka) Fix label display with video_threaded

This commit is contained in:
Jean-André Santoni 2014-10-01 23:52:04 +02:00
parent 3c760d27a8
commit abe6aa79fe

View File

@ -284,8 +284,10 @@ static void lakka_draw_text(const char *str, float x,
params.color = FONT_COLOR_RGBA(255, 255, 255, a8); params.color = FONT_COLOR_RGBA(255, 255, 255, a8);
params.full_screen = true; params.full_screen = true;
if (font_driver) if (driver.video_data && driver.video_poke
font_driver->render_msg(font, str, &params); && driver.video_poke->set_osd_msg)
driver.video_poke->set_osd_msg(driver.video_data,
str, &params);
} }
void lakka_draw_background(void) void lakka_draw_background(void)