[iortcw] 26/89: All: Don't use CVAR_PROTECTED flag for cl_renderer
Simon McVittie
smcv at debian.org
Fri Sep 8 10:44:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51b
in repository iortcw.
commit b27e0ff69b32fd77eac23ac4c8835335c1a9bd18
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Wed Jun 21 08:59:18 2017 -0400
All: Don't use CVAR_PROTECTED flag for cl_renderer
---
MP/code/client/cl_main.c | 2 +-
SP/code/client/cl_main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MP/code/client/cl_main.c b/MP/code/client/cl_main.c
index 44511d1..605c81d 100644
--- a/MP/code/client/cl_main.c
+++ b/MP/code/client/cl_main.c
@@ -3693,7 +3693,7 @@ void CL_InitRef( void ) {
Com_Printf( "----- Initializing Renderer ----\n" );
#ifdef USE_RENDERER_DLOPEN
- cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH | CVAR_PROTECTED);
+ cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH);
Com_sprintf(dllName, sizeof(dllName), "renderer_mp_%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
diff --git a/SP/code/client/cl_main.c b/SP/code/client/cl_main.c
index 9558c85..2f18fd2 100644
--- a/SP/code/client/cl_main.c
+++ b/SP/code/client/cl_main.c
@@ -3356,7 +3356,7 @@ void CL_InitRef( void ) {
Com_Printf( "----- Initializing Renderer ----\n" );
#ifdef USE_RENDERER_DLOPEN
- cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH | CVAR_PROTECTED);
+ cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH);
Com_sprintf(dllName, sizeof(dllName), "renderer_sp_%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list