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