summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_main.c4
-rw-r--r--src/qcommon/files.c2
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);