[ioquake3] 03/21: Don't try to remove non-existant command 'shaderstate'
Simon McVittie
smcv at debian.org
Fri Aug 4 20:39:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit 6693465336d203432b4e02e76fd91aabe7a159a0
Author: Zack Middleton <zack at cloemail.com>
Date: Thu Jul 27 18:58:43 2017 -0500
Don't try to remove non-existant command 'shaderstate'
Remove commands in the order they are added because the different
orders is annoying.
---
code/renderergl1/tr_init.c | 17 ++++++++---------
code/renderergl2/tr_init.c | 17 ++++++++---------
2 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/code/renderergl1/tr_init.c b/code/renderergl1/tr_init.c
index 266a2f2..11278df 100644
--- a/code/renderergl1/tr_init.c
+++ b/code/renderergl1/tr_init.c
@@ -1259,16 +1259,15 @@ void RE_Shutdown( qboolean destroyWindow ) {
ri.Printf( PRINT_ALL, "RE_Shutdown( %i )\n", destroyWindow );
- ri.Cmd_RemoveCommand ("modellist");
- ri.Cmd_RemoveCommand ("screenshotJPEG");
- ri.Cmd_RemoveCommand ("screenshot");
- ri.Cmd_RemoveCommand ("imagelist");
- ri.Cmd_RemoveCommand ("shaderlist");
- ri.Cmd_RemoveCommand ("skinlist");
- ri.Cmd_RemoveCommand ("gfxinfo");
- ri.Cmd_RemoveCommand("minimize");
+ ri.Cmd_RemoveCommand( "imagelist" );
+ ri.Cmd_RemoveCommand( "shaderlist" );
+ ri.Cmd_RemoveCommand( "skinlist" );
+ ri.Cmd_RemoveCommand( "modellist" );
ri.Cmd_RemoveCommand( "modelist" );
- ri.Cmd_RemoveCommand( "shaderstate" );
+ ri.Cmd_RemoveCommand( "screenshot" );
+ ri.Cmd_RemoveCommand( "screenshotJPEG" );
+ ri.Cmd_RemoveCommand( "gfxinfo" );
+ ri.Cmd_RemoveCommand( "minimize" );
if ( tr.registered ) {
diff --git a/code/renderergl2/tr_init.c b/code/renderergl2/tr_init.c
index fe1014b..583a04b 100644
--- a/code/renderergl2/tr_init.c
+++ b/code/renderergl2/tr_init.c
@@ -1501,16 +1501,15 @@ void RE_Shutdown( qboolean destroyWindow ) {
ri.Printf( PRINT_ALL, "RE_Shutdown( %i )\n", destroyWindow );
- ri.Cmd_RemoveCommand ("modellist");
- ri.Cmd_RemoveCommand ("screenshotJPEG");
- ri.Cmd_RemoveCommand ("screenshot");
- ri.Cmd_RemoveCommand ("imagelist");
- ri.Cmd_RemoveCommand ("shaderlist");
- ri.Cmd_RemoveCommand ("skinlist");
- ri.Cmd_RemoveCommand ("gfxinfo");
- ri.Cmd_RemoveCommand("minimize");
+ ri.Cmd_RemoveCommand( "imagelist" );
+ ri.Cmd_RemoveCommand( "shaderlist" );
+ ri.Cmd_RemoveCommand( "skinlist" );
+ ri.Cmd_RemoveCommand( "modellist" );
ri.Cmd_RemoveCommand( "modelist" );
- ri.Cmd_RemoveCommand( "shaderstate" );
+ ri.Cmd_RemoveCommand( "screenshot" );
+ ri.Cmd_RemoveCommand( "screenshotJPEG" );
+ ri.Cmd_RemoveCommand( "gfxinfo" );
+ ri.Cmd_RemoveCommand( "minimize" );
ri.Cmd_RemoveCommand( "gfxmeminfo" );
ri.Cmd_RemoveCommand( "exportCubemaps" );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list