diff options
author | /dev/humancontroller <devhc@example.com> | 2015-06-18 14:18:03 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-07 17:34:59 +0100 |
commit | bea348d828fee2675edc5cfc9b18ad000a96a6ac (patch) | |
tree | c8ae11fc1e9150a097d5f6e2aab4baf099e23942 /src | |
parent | 7190d27a586ee1a4be4a550833f5ec91fca5402e (diff) |
stop embedding the architecture in the filenames of binaries and libraries; change the library loader appropriately
Diffstat (limited to 'src')
-rw-r--r-- | src/client/cl_main.c | 4 | ||||
-rw-r--r-- | src/qcommon/files.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 5e8aa4b5..9f8e4279 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -3271,14 +3271,14 @@ void CL_InitRef( void ) { #ifdef USE_RENDERER_DLOPEN cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH); - Com_sprintf(dllName, sizeof(dllName), "renderer_%s_" ARCH_STRING DLL_EXT, cl_renderer->string); + Com_sprintf(dllName, sizeof(dllName), "renderer_%s" DLL_EXT, cl_renderer->string); if(!(rendererLib = Sys_LoadDll(dllName, qfalse)) && strcmp(cl_renderer->string, cl_renderer->resetString)) { Com_Printf("failed:\n\"%s\"\n", Sys_LibraryError()); Cvar_ForceReset("cl_renderer"); - Com_sprintf(dllName, sizeof(dllName), "renderer_opengl1_" ARCH_STRING DLL_EXT); + Com_sprintf(dllName, sizeof(dllName), "renderer_opengl1" DLL_EXT); rendererLib = Sys_LoadDll(dllName, qfalse); } diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 5ab6e980..856ea285 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1378,7 +1378,7 @@ int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, i Com_Error(ERR_FATAL, "Filesystem call made without initialization"); if(enableDll) - Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_STRING DLL_EXT, name); + Com_sprintf(dllName, sizeof(dllName), "%s" DLL_EXT, name); Com_sprintf(qvmName, sizeof(qvmName), "vm/%s.qvm", name); |