diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-19 16:21:18 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-19 16:21:18 -0500 |
commit | f19f43c74606e1f158cdabe9e783f9c82386b7b7 (patch) | |
tree | 64c1a6d7d1d8a1ae0b30baf6bd519d8140136971 /indra/newview/llvoavatar.cpp | |
parent | dd61baa3401a09bd8ff1e894514c15390946cdb3 (diff) | |
parent | 4ec72ed0a61157dd5fcc1bc4cc91054664ee75b5 (diff) |
merge
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index bdab250b49..799e1bbfb9 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2117,8 +2117,8 @@ void LLVOAvatar::updateMeshData() } else { - if (buff->getRequestedIndices() == num_indices && - buff->getRequestedVerts() == num_vertices) + if (buff->getNumIndices() == num_indices && + buff->getNumVerts() == num_vertices) { terse_update = true; } @@ -2142,7 +2142,7 @@ void LLVOAvatar::updateMeshData() } stop_glerror(); - buff->setBuffer(0); + buff->flush(); if(!f_num) { @@ -4135,7 +4135,7 @@ U32 LLVOAvatar::renderSkinned(EAvatarRenderPass pass) LLVertexBuffer* vb = mDrawable->getFace(0)->getVertexBuffer(); if (vb) { - vb->setBuffer(0); + vb->flush(); } } } |