This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 2d6171f44c72177a4b996eb721f353839fb5273d
Author: Zack Middleton <[email protected]>
Date:   Tue Aug 1 01:51:38 2017 -0500

    Remove CVAR_PROTECTED from cl_renderer
    
    Setting cl_renderer isn't a security concern and valid behavior for
    a menu to provide. Sys_LoadDLL ensures only libries are loaded and
    engine prevents QVMs from writing them.
---
 code/client/cl_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 506940b..62dcf52 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -3207,7 +3207,7 @@ void CL_InitRef( void ) {
        Com_Printf( "----- Initializing Renderer ----\n" );
 
 #ifdef USE_RENDERER_DLOPEN
-       cl_renderer = Cvar_Get("cl_renderer", "opengl2", CVAR_ARCHIVE | 
CVAR_LATCH | CVAR_PROTECTED);
+       cl_renderer = Cvar_Get("cl_renderer", "opengl2", CVAR_ARCHIVE | 
CVAR_LATCH);
 
        Com_sprintf(dllName, sizeof(dllName), "renderer_%s_" ARCH_STRING 
DLL_EXT, cl_renderer->string);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to