mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Don't try to remove non-existant command 'shaderstate'
Remove commands in the order they are added because the different orders is annoying.
This commit is contained in:
parent
fa034c17ec
commit
6693465336
2 changed files with 16 additions and 18 deletions
|
@ -1259,16 +1259,15 @@ void RE_Shutdown( qboolean destroyWindow ) {
|
||||||
|
|
||||||
ri.Printf( PRINT_ALL, "RE_Shutdown( %i )\n", 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( "imagelist" );
|
||||||
ri.Cmd_RemoveCommand( "shaderlist" );
|
ri.Cmd_RemoveCommand( "shaderlist" );
|
||||||
ri.Cmd_RemoveCommand( "skinlist" );
|
ri.Cmd_RemoveCommand( "skinlist" );
|
||||||
|
ri.Cmd_RemoveCommand( "modellist" );
|
||||||
|
ri.Cmd_RemoveCommand( "modelist" );
|
||||||
|
ri.Cmd_RemoveCommand( "screenshot" );
|
||||||
|
ri.Cmd_RemoveCommand( "screenshotJPEG" );
|
||||||
ri.Cmd_RemoveCommand( "gfxinfo" );
|
ri.Cmd_RemoveCommand( "gfxinfo" );
|
||||||
ri.Cmd_RemoveCommand( "minimize" );
|
ri.Cmd_RemoveCommand( "minimize" );
|
||||||
ri.Cmd_RemoveCommand( "modelist" );
|
|
||||||
ri.Cmd_RemoveCommand( "shaderstate" );
|
|
||||||
|
|
||||||
|
|
||||||
if ( tr.registered ) {
|
if ( tr.registered ) {
|
||||||
|
|
|
@ -1501,16 +1501,15 @@ void RE_Shutdown( qboolean destroyWindow ) {
|
||||||
|
|
||||||
ri.Printf( PRINT_ALL, "RE_Shutdown( %i )\n", 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( "imagelist" );
|
||||||
ri.Cmd_RemoveCommand( "shaderlist" );
|
ri.Cmd_RemoveCommand( "shaderlist" );
|
||||||
ri.Cmd_RemoveCommand( "skinlist" );
|
ri.Cmd_RemoveCommand( "skinlist" );
|
||||||
|
ri.Cmd_RemoveCommand( "modellist" );
|
||||||
|
ri.Cmd_RemoveCommand( "modelist" );
|
||||||
|
ri.Cmd_RemoveCommand( "screenshot" );
|
||||||
|
ri.Cmd_RemoveCommand( "screenshotJPEG" );
|
||||||
ri.Cmd_RemoveCommand( "gfxinfo" );
|
ri.Cmd_RemoveCommand( "gfxinfo" );
|
||||||
ri.Cmd_RemoveCommand( "minimize" );
|
ri.Cmd_RemoveCommand( "minimize" );
|
||||||
ri.Cmd_RemoveCommand( "modelist" );
|
|
||||||
ri.Cmd_RemoveCommand( "shaderstate" );
|
|
||||||
ri.Cmd_RemoveCommand( "gfxmeminfo" );
|
ri.Cmd_RemoveCommand( "gfxmeminfo" );
|
||||||
ri.Cmd_RemoveCommand( "exportCubemaps" );
|
ri.Cmd_RemoveCommand( "exportCubemaps" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue