From 0c9be3d8eaa3c0d1b5c45fded5889a756dc9a1e3 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 26 Nov 2005 08:05:32 +0000 Subject: [PATCH] fix a typo in r_speeds display that incorrectly displayed dynamic shadow triangles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5839 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_screen.c b/cl_screen.c index e89346a0..7765c999 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -523,7 +523,7 @@ void R_TimeReport_Start(void) speedstringcount = 0; sprintf(r_speeds_string + strlen(r_speeds_string), "org:'%+8.2f %+8.2f %+8.2f' dir:'%+2.3f %+2.3f %+2.3f'\n", r_vieworigin[0], r_vieworigin[1], r_vieworigin[2], r_viewforward[0], r_viewforward[1], r_viewforward[2]); sprintf(r_speeds_string + strlen(r_speeds_string), "%5i entities%6i surfaces%6i triangles%5i leafs%5i portals%6i particles\n", renderstats.entities, renderstats.entities_surfaces, renderstats.entities_triangles, renderstats.world_leafs, renderstats.world_portals, renderstats.particles); - sprintf(r_speeds_string + strlen(r_speeds_string), "%4i lights%4i clears%4i scissored%7i light%7i shadow%i7 dynamic\n", renderstats.lights, renderstats.lights_clears, renderstats.lights_scissored, renderstats.lights_lighttriangles, renderstats.lights_shadowtriangles, renderstats.lights_dynamicshadowtriangles); + sprintf(r_speeds_string + strlen(r_speeds_string), "%4i lights%4i clears%4i scissored%7i light%7i shadow%7i dynamic\n", renderstats.lights, renderstats.lights_clears, renderstats.lights_scissored, renderstats.lights_lighttriangles, renderstats.lights_shadowtriangles, renderstats.lights_dynamicshadowtriangles); if (renderstats.bloom) sprintf(r_speeds_string + strlen(r_speeds_string), "rendered%6i meshes%8i triangles bloompixels%8i copied%8i drawn\n", renderstats.meshes, renderstats.meshes_elements / 3, renderstats.bloom_copypixels, renderstats.bloom_drawpixels); else -- 2.39.2