summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-07-08 00:55:17 -0700
committerRichard Linden <none@none>2013-07-08 00:55:17 -0700
commitd122318bef2ff0eced7641dc24f411f792bd2935 (patch)
tree7c5bfc2c60058d6f87ad9c18c08f844424f3efc9 /indra/newview/pipeline.cpp
parentbc7d2b76961c0397dcd108e625db4304855f4539 (diff)
SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console
added percentage/ratio units added auto-range and auto tick calculation to stat bar to automate display stats
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-xindra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c2f5b9b861..76ecd84e11 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4686,7 +4686,7 @@ void LLPipeline::addTrianglesDrawn(S32 index_count, U32 render_type)
}
record(sStatBatchSize, count);
- add(LLStatViewer::TRIANGLES_DRAWN, count);
+ add(LLStatViewer::TRIANGLES_DRAWN, LLUnits::Triangles::fromValue(count));
if (LLPipeline::sRenderFrameTest)
{