From a8674c18df242145f6fe9be5856a8442be2e65c3 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Mon, 1 Aug 2022 04:11:36 +0400 Subject: [PATCH] engine: platform: win32: fixed build for Windows --- engine/platform/win32/lib_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/platform/win32/lib_win.c b/engine/platform/win32/lib_win.c index b6cf9cf8..21ee1fab 100644 --- a/engine/platform/win32/lib_win.c +++ b/engine/platform/win32/lib_win.c @@ -391,7 +391,7 @@ qboolean COM_CheckLibraryDirectDependency( const char *name, const char *depname dll_user_t *hInst; qboolean ret = FALSE; - hInst = COM_FindLibrary( name, directpath ); + hInst = FS_FindLibrary( name, directpath ); if ( !hInst ) return FALSE; data = FS_LoadFile( name, NULL, false ); @@ -439,7 +439,7 @@ void *COM_LoadLibrary( const char *dllname, int build_ordinals_table, qboolean d COM_ResetLibraryError(); - hInst = COM_FindLibrary( dllname, directpath ); + hInst = FS_FindLibrary( dllname, directpath ); if( !hInst ) { COM_PushLibraryError( va( "Failed to find library %s", dllname ) );