summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-10-19 16:19:00 -0500
committerDave Parks <davep@lindenlab.com>2011-10-19 16:19:00 -0500
commit4ec72ed0a61157dd5fcc1bc4cc91054664ee75b5 (patch)
tree3e445ab899f4fa80112dd26838448a85b7ff42b2 /indra/llrender/llvertexbuffer.cpp
parentb17023e3b071f5e49b3a18c28fc8e1bc73c15b73 (diff)
Fix for VBO pools not getting cleared appropriately.
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r--indra/llrender/llvertexbuffer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index ad99bd1807..7f73977010 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -227,6 +227,7 @@ void LLVBOPool::cleanup()
l.pop_front();
LLVertexBuffer::sAllocatedBytes -= size;
+ sBytesPooled -= size;
}
size *= 2;