mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-07 10:57:44 +00:00
We don't want to allow the user to disable fonts and lock himself
out of seeing a GUI - gets rid of hack in gl.c
This commit is contained in:
parent
5ddadf5935
commit
e0184f0877
@ -2403,9 +2403,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
if (input && input_data)
|
||||
gl->ctx_driver->input_driver(gl, input, input_data);
|
||||
|
||||
#ifndef RARCH_CONSOLE
|
||||
if (g_settings.video.font_enable)
|
||||
#endif
|
||||
{
|
||||
if (!gl_font_init_first(&gl->font_driver, &gl->font_handle,
|
||||
gl, *g_settings.video.font_path
|
||||
|
@ -4392,6 +4392,7 @@ static bool setting_data_append_list_font_options(
|
||||
general_read_handler);
|
||||
settings_list_current_add_range(list, list_info, 1.00, 100.00, 1.0, true, true);
|
||||
|
||||
#ifndef RARCH_CONSOLE
|
||||
CONFIG_BOOL(
|
||||
g_settings.video.font_enable,
|
||||
"video_font_enable",
|
||||
@ -4403,6 +4404,7 @@ static bool setting_data_append_list_font_options(
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
#endif
|
||||
|
||||
CONFIG_FLOAT(
|
||||
g_settings.video.msg_pos_x,
|
||||
|
Loading…
x
Reference in New Issue
Block a user