diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-06-20 16:21:26 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:32 +0100 |
commit | 220ed5a8b8c16059a56abb605f8ec054f1620a6b (patch) | |
tree | b167425d1b43f8f2a457b52870eff3c7772d8c82 | |
parent | f245318b33c0b8398fbff96956a06d1098d46f83 (diff) |
Fix r_speeds 4 in OpenGL2 renderer
-rw-r--r-- | src/renderergl2/tr_shade.c | 2 | ||||
-rw-r--r-- | src/renderergl2/tr_world.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c index efbe69a3..d2aedaec 100644 --- a/src/renderergl2/tr_shade.c +++ b/src/renderergl2/tr_shade.c @@ -416,6 +416,7 @@ static void ProjectDlightTexture( void ) { backEnd.pc.c_totalIndexes += tess.numIndexes; backEnd.pc.c_dlightIndexes += tess.numIndexes; + backEnd.pc.c_dlightVertexes += tess.numVertexes; } } @@ -875,6 +876,7 @@ static void ForwardDlight( void ) { backEnd.pc.c_totalIndexes += tess.numIndexes; backEnd.pc.c_dlightIndexes += tess.numIndexes; + backEnd.pc.c_dlightVertexes += tess.numVertexes; } } diff --git a/src/renderergl2/tr_world.c b/src/renderergl2/tr_world.c index dcf0bf00..e88521d6 100644 --- a/src/renderergl2/tr_world.c +++ b/src/renderergl2/tr_world.c @@ -219,6 +219,8 @@ static int R_DlightSurface( msurface_t *surf, int dlightBits ) { if ( dlightBits ) { tr.pc.c_dlightSurfaces++; + } else { + tr.pc.c_dlightSurfacesCulled++; } return dlightBits; |