Fix r_speeds 4 in OpenGL2 renderer

This commit is contained in:
Zack Middleton 2013-06-20 16:21:26 -05:00
parent aa2ea68741
commit 323e8b9921
2 changed files with 4 additions and 0 deletions

View file

@ -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;
}
}
@ -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;
}
}

View file

@ -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;