]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
new cvar r_draw2d to turn off all 2D drawing (except for console, r_speeds and showfps)
[xonotic/darkplaces.git] / console.c
index 78f6c0c559e8fe7690c8113f9da17c5ad08b0757..332c6800449df1cab5214e8d4bfc5644a54b5497 100644 (file)
--- a/console.c
+++ b/console.c
@@ -1836,6 +1836,8 @@ void Con_DrawConsole (int lines)
 
        con_vislines = lines;
 
+       r_draw2d_force = true;
+
 // draw the background
        alpha = cls.signon == SIGNONS ? scr_conalpha.value : 1.0f; // always full alpha when not in game
        if(alpha > 0)
@@ -1919,6 +1921,8 @@ void Con_DrawConsole (int lines)
 
 // draw the input prompt, user text, and cursor if desired
        Con_DrawInput ();
+
+       r_draw2d_force = false;
 }
 
 /*