From: havoc Date: Sun, 11 Sep 2005 12:58:07 +0000 (+0000) Subject: changed R_TimeReport to call glFinish to improve the accuracy of the reports on each... X-Git-Tag: xonotic-v0.1.0preview~4559 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8a5326f82be41d302242b2c5865aae33dc436258;p=xonotic%2Fdarkplaces.git changed R_TimeReport to call glFinish to improve the accuracy of the reports on each subsystem (not allowing deferred rendering - yes this knocks your framerate down a lot) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5722 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index 4629e492..90b8f25d 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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);