mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +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_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;
|
||||
|
|
Loading…
Reference in a new issue