summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-11-10 14:48:48 -0600
committerDave Parks <davep@lindenlab.com>2011-11-10 14:48:48 -0600
commit76bd8cee1120ac531d56b9897b135e9c1af1bb16 (patch)
tree11878ae7f4cf36d38bcaa119478e5aadeaffdd66 /indra/newview/llvovolume.cpp
parentc8f558f6775d62f03d6caab19668df80e95e8a8b (diff)
SH-2644 Fix debug display that shows selection triangle count and streaming cost
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-xindra/newview/llvovolume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index b75a0a799a..827c5b9cb5 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3266,13 +3266,13 @@ void LLVOVolume::updateRenderComplexity()
mRenderComplexity_current = 0;
}
-U32 LLVOVolume::getTriangleCount() const
+U32 LLVOVolume::getTriangleCount(S32* vcount) const
{
U32 count = 0;
LLVolume* volume = getVolume();
if (volume)
{
- count = volume->getNumTriangles();
+ count = volume->getNumTriangles(vcount);
}
return count;