Fix r_speeds 4 in OpenGL2 renderer
This commit is contained in:
1 parent
aa2ea68741
commit
323e8b9921
2 files changed
+4
No files matched your search
@@ -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