]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed R_TimeReport to call glFinish to improve the accuracy of the reports on each...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Sep 2005 12:58:07 +0000 (12:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Sep 2005 12:58:07 +0000 (12:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5722 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 4629e4923e87b454976a7e769e9cd07b2c26d36f..90b8f25d6793be98faeb2361a0636cab5c4372d7 100644 (file)
@@ -483,6 +483,7 @@ void R_TimeReport(char *desc)
        if (!r_timereport_active || r_showtrispass)
                return;
 
+       qglFinish();
        r_timereport_temp = r_timereport_current;
        r_timereport_current = Sys_DoubleTime();
        t = (int) ((r_timereport_current - r_timereport_temp) * 1000000.0);