From: havoc Date: Sat, 8 Sep 2018 20:21:44 +0000 (+0000) Subject: Don't apply r_showtris and such to the HUD and other UI elements, now that they are... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=391311f0c11e7b68403d2cdadeb407959a33e455;p=xonotic%2Fdarkplaces.git Don't apply r_showtris and such to the HUD and other UI elements, now that they are rendered as a model this was happening. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12458 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index 8d427e16..d6ba9bb8 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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;