From 8a5326f82be41d302242b2c5865aae33dc436258 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 11 Sep 2005 12:58:07 +0000 Subject: [PATCH] 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 --- cl_screen.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2