summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-08-03 14:23:02 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-08-03 14:23:02 +0100
commita57170724344842e26b8cd0fa4a47c24efa834c5 (patch)
tree355331bdd08d67b600db68812d8048688c4e9f9f /indra/newview/llviewermenu.cpp
parent912c8faf55a4d391f69eb18d4fda5a85a70de6ca (diff)
SL-731 - render metadata includes triangle count, triangle and vertex count included with debug text for control avatar
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index eddbe16482..f01c67e499 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -1076,6 +1076,10 @@ U32 info_display_from_string(std::string info_display)
{
return LLPipeline::RENDER_DEBUG_TEXEL_DENSITY;
}
+ else if ("triangle count" == info_display)
+ {
+ return LLPipeline::RENDER_DEBUG_TRIANGLE_COUNT;
+ }
else
{
LL_WARNS() << "unrecognized feature name '" << info_display << "'" << LL_ENDL;