]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
Adding developer_curl to print verbose curl output
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index 0b738108edce2055dcc64fdebf4ed9506ab0f95c..b7421b218c3f79abe5ebd11039c51510ea868ade 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -327,7 +327,7 @@ void Font_CloseLibrary (void)
                font_ft2lib = NULL;
        }
 #ifndef DP_FREETYPE_STATIC
-       Sys_UnloadLibrary (&ft2_dll);
+       Sys_FreeLibrary (&ft2_dll);
 #endif
        pp.buf = NULL;
 }
@@ -367,7 +367,7 @@ qbool Font_OpenLibrary (void)
                return true;
 
        // Load the DLL
-       if (!Sys_LoadLibrary (dllnames, &ft2_dll, ft2funcs))
+       if (!Sys_LoadDependency (dllnames, &ft2_dll, ft2funcs))
                return false;
 #endif
        return true;