mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-29 07:36:51 +00:00
Update engine stats for all levels above first, not only at the second.
This commit is contained in:
parent
c33b2e0100
commit
bc4047d815
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ bool Profiler::handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter
|
||||||
if (viewer)
|
if (viewer)
|
||||||
{
|
{
|
||||||
// Add/remove openmw stats to the osd as necessary
|
// Add/remove openmw stats to the osd as necessary
|
||||||
viewer->getViewerStats()->collectStats("engine", _statsType == StatsHandler::StatsType::VIEWER_STATS);
|
viewer->getViewerStats()->collectStats("engine", _statsType >= StatsHandler::StatsType::VIEWER_STATS);
|
||||||
|
|
||||||
if (_offlineCollect)
|
if (_offlineCollect)
|
||||||
CollectStatistics(viewer);
|
CollectStatistics(viewer);
|
||||||
|
|
Loading…
Reference in a new issue