summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-01-21 18:25:57 -0600
committerDave Parks <davep@lindenlab.com>2011-01-21 18:25:57 -0600
commitd7db673dc7c8cc638aab66be07f08892e548f783 (patch)
tree034a11874230235149dc8b858e353544faa88a86 /indra/newview/llviewerwindow.cpp
parent4fefb98cba6cdf5051bfd4d575dcccc468d77836 (diff)
Fix for leaking occlusion queries -- try not to hold onto so many stale occlusion query references.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index dcfac012f6..db48b769e4 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -497,6 +497,12 @@ public:
ypos += y_inc;
+ if (!LLSpatialGroup::sPendingQueries.empty())
+ {
+ addText(xpos,ypos, llformat("%d Queries pending", LLSpatialGroup::sPendingQueries.size()));
+ ypos += y_inc;
+ }
+
addText(xpos,ypos, llformat("%d Avatars visible", LLVOAvatar::sNumVisibleAvatars));