summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
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
commitbea348d828fee2675edc5cfc9b18ad000a96a6ac (patch)
treec8ae11fc1e9150a097d5f6e2aab4baf099e23942 /src/client
parent7190d27a586ee1a4be4a550833f5ec91fca5402e (diff)
stop embedding the architecture in the filenames of binaries and libraries; change the library loader appropriately
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_main.c4
1 files changed, 2 insertions, 2 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);
}