]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_agl.c
hide private cvars from the output of cvar name and cvarlist commands to prevent...
[xonotic/darkplaces.git] / vid_agl.c
index 8586ef07e7c8fdf7e71520133e41316e1ff5966c..c5c55fa2b710ffc72d34e009abe5a0acedbf1908 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -219,7 +219,7 @@ void VID_Finish (void)
                        Con_Printf("ERROR: can't %s vsync\n", vid_usevsync ? "activate" : "deactivate");
        }
 
-       if (r_render.integer)
+       if (!vid_hidden)
        {
                CHECKGLERROR
                if (r_speeds.integer == 2 || gl_finish.integer)