mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +00:00
Only init font rendering in GL if enabled.
This commit is contained in:
parent
e06583a45c
commit
bccfd9f013
1
gfx/gl.c
1
gfx/gl.c
@ -1663,6 +1663,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
|
||||
#ifndef HAVE_RMENU
|
||||
// Comes too early for console - moved to gl_start
|
||||
if (g_settings.video.font_enable)
|
||||
gl->font_ctx = gl_font_init_first(gl, g_settings.video.font_path, g_settings.video.font_size);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user