- 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:
Christoph Oelckers 2018-10-29 10:36:48 +01:00
commit 8a0596893b
5 changed files with 5 additions and 4 deletions

View file

@ -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