(GLUI) Use default font when video.font_enable is false
This commit is contained in:
parent
e08fecd727
commit
04bb18e24d
|
@ -672,7 +672,7 @@ static void glui_context_reset(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
glui = (glui_handle_t*)menu->userdata;
|
glui = (glui_handle_t*)menu->userdata;
|
||||||
font_path = settings->video.font_path;
|
font_path = settings->video.font_enable ? settings->video.font_path : NULL;
|
||||||
|
|
||||||
if (!menu_display_init_main_font(menu, font_path, menu->font.size))
|
if (!menu_display_init_main_font(menu, font_path, menu->font.size))
|
||||||
RARCH_WARN("Failed to load font.");
|
RARCH_WARN("Failed to load font.");
|
||||||
|
|
Loading…
Reference in New Issue