]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_glx.c
added r_renderview cvar (similar to scr_refresh but disables only 3D
[xonotic/darkplaces.git] / vid_glx.c
index 165dcc7919cfbba8dfacc5ad56bc359a9cbb483a..a0284127923696f38175a37734677dd9b2f744e8 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -697,7 +697,7 @@ void VID_Finish (void)
                        Con_Print("glXSwapIntervalSGI didn't accept the vid_vsync change, it will take effect on next vid_restart (GLX_SGI_swap_control does not allow turning off vsync)\n");
        }
 
-       if (r_render.integer)
+       if (!vid_hidden)
        {
                CHECKGLERROR
                if (r_speeds.integer == 2 || gl_finish.integer)