Improved stats handling, and fixed a couple of stats bugs.

This commit is contained in:
Robert Osfield
2005-12-15 17:14:40 +00:00
parent 72554ca27e
commit 2815622c35
8 changed files with 71 additions and 74 deletions

View File

@@ -619,7 +619,7 @@ void ViewerEventHandler::StatsAndHelpDrawCallback::displayStats()
shitr != _veh->getOsgCameraGroup()->getSceneHandlerList().end();
++shitr)
{
(*shitr)->getSceneView()->getStats(&stats);
(*shitr)->getSceneView()->getStats(stats);
}
unsigned int primitives = 0;