diff options
author | Dave Parks <davep@lindenlab.com> | 2011-01-21 18:25:57 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-01-21 18:25:57 -0600 |
commit | d7db673dc7c8cc638aab66be07f08892e548f783 (patch) | |
tree | 034a11874230235149dc8b858e353544faa88a86 /indra/newview/llviewerwindow.cpp | |
parent | 4fefb98cba6cdf5051bfd4d575dcccc468d77836 (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.cpp | 6 |
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)); |