]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Don't apply r_showtris and such to the HUD and other UI elements, now that they are...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 8 Sep 2018 20:21:44 +0000 (20:21 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 8 Sep 2018 20:21:44 +0000 (20:21 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12458 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 8d427e16382fc0df4354b1fecce0e73162b28183..d6ba9bb831692527c6056b5cc3c00c9235bc317f 100644 (file)
@@ -2153,6 +2153,9 @@ static void SCR_DrawScreen (void)
                }
        }
 
+       // Don't apply debugging stuff like r_showsurfaces to the UI
+       r_refdef.view.showdebug = false;
+
        if (!r_stereo_sidebyside.integer && !r_stereo_horizontal.integer && !r_stereo_vertical.integer)
        {
                r_refdef.view.width = vid.width;