]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
load the freetype library in Font_Init already, and don't call Font_Init twice
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index dc3476a06c98f3a03fe8c241c0fca74757b460b3..ee84d5a67b682b4ee1b855f35aad81ccc7d8d385 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -263,6 +263,8 @@ void Font_Init(void)
        Cvar_RegisterVariable(&r_font_antialias);
        Cvar_RegisterVariable(&r_font_kerning);
        Cvar_RegisterVariable(&developer_font);
+       // let's open it at startup already
+       Font_OpenLibrary();
 }
 
 /*