Browse Source

Fix metrics

Josh Engebretson 9 years ago
parent
commit
d8f41f36d3
1 changed files with 5 additions and 3 deletions
  1. 5 3
      Source/Atomic/UI/SystemUI/DebugHud.cpp

+ 5 - 3
Source/Atomic/UI/SystemUI/DebugHud.cpp

@@ -164,13 +164,15 @@ void DebugHud::Update(float timeStep)
         unsigned editorPrimitives = graphics->GetNumPrimitives() - renderer->GetNumPrimitives();
         unsigned editorPrimitives = graphics->GetNumPrimitives() - renderer->GetNumPrimitives();
 
 
         if (singlePassPrimitives)
         if (singlePassPrimitives)
-            stats.AppendWithFormat("FPS %d\nTriangles (All passes) %u\nTriangles (Single pass) %u\nTriangles (Editor) %u\n", fps_, primitives, singlePassPrimitives, editorPrimitives);
+            stats.AppendWithFormat("FPS %d\nTriangles (All passes) %u\nTriangles (Single pass) %u\nTriangles (Editor) %u\n", 
+                fps_, 
+                primitives, 
+                singlePassPrimitives, 
+                editorPrimitives);
         else
         else
             stats.AppendWithFormat("FPS %d\nTriangles %u\n", fps_, primitives);
             stats.AppendWithFormat("FPS %d\nTriangles %u\n", fps_, primitives);
                     
                     
         stats.AppendWithFormat("Batches %u\nViews %u\nLights %u\nShadowmaps %u\nOccluders %u",
         stats.AppendWithFormat("Batches %u\nViews %u\nLights %u\nShadowmaps %u\nOccluders %u",
-            fps_,
-            primitives,
             batches,
             batches,
             renderer->GetNumViews(),
             renderer->GetNumViews(),
             renderer->GetNumLights(true),
             renderer->GetNumLights(true),