summaryrefslogtreecommitdiff
path: root/src/gl_draw.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2011-03-08 19:23:20 +0300
committerAndrey Nazarov <skuller@skuller.net>2011-03-08 19:23:20 +0300
commitccbfc0b09375a932aa64aea706d059b115328da9 (patch)
treeb13ed590da91ed11544bcb3af65c1648010dba03 /src/gl_draw.c
parentd1db2c0bf4c25a14015f13fd87143799c9620aa6 (diff)
Report number of nodes/leaves drawn in GL stats.
Diffstat (limited to 'src/gl_draw.c')
-rw-r--r--src/gl_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gl_draw.c b/src/gl_draw.c
index c7a7a80..7117413 100644
--- a/src/gl_draw.c
+++ b/src/gl_draw.c
@@ -318,6 +318,8 @@ void Draw_Stats( void ) {
Draw_Stringf( x, y, "Nodes visible : %i", c.nodesVisible ); y += 10;
Draw_Stringf( x, y, "Nodes culled : %i", c.nodesCulled ); y += 10;
+ Draw_Stringf( x, y, "Nodes drawn : %i", c.nodesDrawn ); y += 10;
+ Draw_Stringf( x, y, "Leaves drawn : %i", c.leavesDrawn ); y += 10;
Draw_Stringf( x, y, "Faces drawn : %i", c.facesDrawn ); y += 10;
if( c.facesCulled ) {
Draw_Stringf( x, y, "Faces culled : %i", c.facesCulled ); y += 10;