- fixed dynamic light profiling counters.
The draw counters were never incremented and this should be reset only once per scene, not once per viewpoint.
This commit is contained in:
parent
361bb688c8
commit
8a0596893b
5 changed files with 5 additions and 4 deletions
|
|
@ -229,6 +229,8 @@ sector_t *FGLRenderer::RenderView(player_t* player)
|
|||
}
|
||||
else
|
||||
{
|
||||
iter_dlightf = iter_dlight = draw_dlight = draw_dlightf = 0;
|
||||
|
||||
checkBenchActive();
|
||||
|
||||
// reset statistics counters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue