]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added -developer3 for crazy debugging sessions (gl_printcheckerror spew)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 9 Jul 2011 20:27:07 +0000 (20:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 9 Jul 2011 20:27:07 +0000 (20:27 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11242 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index e7a37d9bea54788470e245d92d35c7e2708b67ef..dbc88c59b052280183ab5de951a5d49c57872ae5 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1082,7 +1082,7 @@ static void Host_Init (void)
                developer.string = "1";
        }
 
-       if (COM_CheckParm("-developer2"))
+       if (COM_CheckParm("-developer2") || COM_CheckParm("-developer3"))
        {
                developer.value = developer.integer = 1;
                developer.string = "1";
@@ -1096,6 +1096,12 @@ static void Host_Init (void)
                developer_memorydebug.string = "1";
        }
 
+       if (COM_CheckParm("-developer3"))
+       {
+               gl_paranoid.integer = 1;gl_paranoid.string = "1";
+               gl_printcheckerror.integer = 1;gl_printcheckerror.string = "1";
+       }
+
 // COMMANDLINEOPTION: Console: -nostdout disables text output to the terminal the game was launched from
        if (COM_CheckParm("-nostdout"))
                sys_nostdout = 1;