From bccfd9f0136c3a2f0b5378a2161f9b458b931979 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 5 Jan 2013 23:47:49 +0100 Subject: [PATCH] Only init font rendering in GL if enabled. --- gfx/gl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/gl.c b/gfx/gl.c index 6569b3e2c4..c50e39974b 100644 --- a/gfx/gl.c +++ b/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 // 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 gl_init_pbo_readback(gl);