Only init font rendering in GL if enabled.

This commit is contained in:
Themaister 2013-01-05 23:47:49 +01:00
parent e06583a45c
commit bccfd9f013

View File

@ -1663,6 +1663,7 @@ 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
if (g_settings.video.font_enable)
gl->font_ctx = gl_font_init_first(gl, g_settings.video.font_path, g_settings.video.font_size); gl->font_ctx = gl_font_init_first(gl, g_settings.video.font_path, g_settings.video.font_size);
#endif #endif