summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-05-22 13:49:52 -0500
committerDave Parks <davep@lindenlab.com>2012-05-22 13:49:52 -0500
commit78df56e1b55637eefcf8223c3b49adba66eba7e9 (patch)
tree8023a9ebe5b257c19be3135900557f735c82757c /indra/llrender/llvertexbuffer.cpp
parent534168c452c10b1616b883e63321edd1ccd96fb2 (diff)
MAINT-616 Fix for crash on teleport from previous changes
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r--indra/llrender/llvertexbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index 0e037fdd21..ca7c9deff2 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -153,7 +153,7 @@ void LLVBOPool::deleteBuffer(U32 name)
mGLNamePool.push_back(name);
- LLVertexBuffer::unbind();
+ glBindBufferARB(mType, 0);
}
}