Fix r_speeds 4 in OpenGL2 renderer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user