Skip to content

Commit

Permalink
Fix r_speeds 4 in OpenGL2 renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Jun 20, 2013
1 parent aa2ea68 commit 323e8b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/renderergl2/tr_shade.c
Expand Up @@ -415,6 +415,7 @@ static void ProjectDlightTexture( void ) {

backEnd.pc.c_totalIndexes += tess.numIndexes;
backEnd.pc.c_dlightIndexes += tess.numIndexes;
backEnd.pc.c_dlightVertexes += tess.numVertexes;
}
}

Expand Down Expand Up @@ -874,6 +875,7 @@ static void ForwardDlight( void ) {

backEnd.pc.c_totalIndexes += tess.numIndexes;
backEnd.pc.c_dlightIndexes += tess.numIndexes;
backEnd.pc.c_dlightVertexes += tess.numVertexes;
}
}

Expand Down
2 changes: 2 additions & 0 deletions code/renderergl2/tr_world.c
Expand Up @@ -218,6 +218,8 @@ static int R_DlightSurface( msurface_t *surf, int dlightBits ) {

if ( dlightBits ) {
tr.pc.c_dlightSurfaces++;
} else {
tr.pc.c_dlightSurfacesCulled++;
}

return dlightBits;
Expand Down

0 comments on commit 323e8b9

Please sign in to comment.