Don't search system directories for renderer lib
This commit is contained in:
1 parent
5a1449bd51
commit
404fe4e6e0
5 files changed
+10
-8
No files matched your search
@@ -94,11 +94,11 @@ qboolean CL_cURL_Init()
|
||||
|
||||
|
||||
Com_Printf("Loading \"%s\"...", cl_cURLLib->string);
|
||||
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string)))
|
||||
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string, qtrue)))
|
||||
{
|
||||
#ifdef ALTERNATE_CURL_LIB
|
||||
// On some linux distributions there is no libcurl.so.3, but only libcurl.so.4. That one works too.
|
||||
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB)))
|
||||
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB, qtrue)))
|
||||
#endif
|
||||
return qfalse;
|
||||
}
|
||||
|
||||
@@ -3182,7 +3182,7 @@ void CL_InitRef( void ) {
|
||||
|
||||
Com_sprintf(dllName, sizeof(dllName), "renderer_%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
|
||||
|
||||
if(!(rendererLib = Sys_LoadDll(dllName)) && strcmp(cl_renderer->string, cl_renderer->resetString))
|
||||
if(!(rendererLib = Sys_LoadDll(dllName, qfalse)) && strcmp(cl_renderer->string, cl_renderer->resetString))
|
||||
{
|
||||
Cvar_ForceReset("cl_renderer");
|
||||
|
||||
|
||||
+1
-1
@@ -144,7 +144,7 @@ qboolean QAL_Init(const char *libname)
|
||||
if(OpenALLib)
|
||||
return qtrue;
|
||||
|
||||
if(!(OpenALLib = Sys_LoadDll(libname)))
|
||||
if(!(OpenALLib = Sys_LoadDll(libname, qtrue)))
|
||||
return qfalse;
|
||||
|
||||
alinit_fail = qfalse;
|
||||
|
||||
Reference in new issue
Block a user