]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cap_ogg.c
sys: Rename Sys_UnloadLibrary to Sys_FreeLibrary for consistency
[xonotic/darkplaces.git] / cap_ogg.c
index 16802dc92e2590566ef0a125355fde1c43e10c23..0a0c1634338e017384a9f46c9b2aa74995495bbf 100644 (file)
--- a/cap_ogg.c
+++ b/cap_ogg.c
@@ -596,10 +596,10 @@ qbool SCR_CaptureVideo_Ogg_Available(void)
 
 void SCR_CaptureVideo_Ogg_CloseDLL(void)
 {
-       Sys_UnloadLibrary (&ve_dll);
-       Sys_UnloadLibrary (&vo_dll);
-       Sys_UnloadLibrary (&th_dll);
-       Sys_UnloadLibrary (&og_dll);
+       Sys_FreeLibrary (&ve_dll);
+       Sys_FreeLibrary (&vo_dll);
+       Sys_FreeLibrary (&th_dll);
+       Sys_FreeLibrary (&og_dll);
 }
 
 // this struct should not be needed