diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-03-08 19:23:20 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-03-08 19:23:20 +0300 |
commit | ccbfc0b09375a932aa64aea706d059b115328da9 (patch) | |
tree | b13ed590da91ed11544bcb3af65c1648010dba03 /src/gl_world.c | |
parent | d1db2c0bf4c25a14015f13fd87143799c9620aa6 (diff) |
Report number of nodes/leaves drawn in GL stats.
Diffstat (limited to 'src/gl_world.c')
-rw-r--r-- | src/gl_world.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gl_world.c b/src/gl_world.c index 0c08153..492d7a3 100644 --- a/src/gl_world.c +++ b/src/gl_world.c @@ -432,6 +432,8 @@ static inline void GL_DrawLeaf( mleaf_t *leaf ) { for( face = leaf->firstleafface; face < last; face++ ) { (*face)->drawframe = glr.drawframe; } + + c.leavesDrawn++; } static inline void GL_AddGenericFace( mface_t *face ) { |