mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Fix r_speeds 4 in OpenGL2 renderer
This commit is contained in:
parent
aa2ea68741
commit
323e8b9921
2 changed files with 4 additions and 0 deletions
|
@ -415,6 +415,7 @@ static void ProjectDlightTexture( void ) {
|
||||||
|
|
||||||
backEnd.pc.c_totalIndexes += tess.numIndexes;
|
backEnd.pc.c_totalIndexes += tess.numIndexes;
|
||||||
backEnd.pc.c_dlightIndexes += 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_totalIndexes += tess.numIndexes;
|
||||||
backEnd.pc.c_dlightIndexes += 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 ) {
|
if ( dlightBits ) {
|
||||||
tr.pc.c_dlightSurfaces++;
|
tr.pc.c_dlightSurfaces++;
|
||||||
|
} else {
|
||||||
|
tr.pc.c_dlightSurfacesCulled++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return dlightBits;
|
return dlightBits;
|
||||||
|
|
Loading…
Reference in a new issue