]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.c
added gl_finish cvar, defaults to 0, this was a noticable speed gain (22.5% on timede...
[xonotic/darkplaces.git] / gl_backend.c
index f5117ecedb65f46bacc3a56ddcd377894bfdab9a..89f2017501f664a49cfde63e26c7508296b23886 100644 (file)
@@ -1384,7 +1384,8 @@ showtris:
        {
                // tell driver to commit it's partially full geometry queue to the rendering queue
                // (this doesn't wait for the commands themselves to complete)
-               qglFlush();
+               if (gl_finish.integer)
+                       qglFlush();
        }
        else
        {