diff options
author | Dave Parks <davep@lindenlab.com> | 2010-09-24 13:39:15 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-09-24 13:39:15 -0500 |
commit | b7cf948a826d477508d9be51b147a84b54187709 (patch) | |
tree | 5b5d2ff46e0a5e526d0ef170ffcecc12bd6491a3 /indra/newview/llface.cpp | |
parent | bc488500962f75ac6d5dcdac4db4f2d7f293bf89 (diff) |
SH-213 Fix for crash when selecting face.
Diffstat (limited to 'indra/newview/llface.cpp')
-rwxr-xr-x | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 29edbc2b03..e1e0dd8f3e 100755 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -581,8 +581,8 @@ void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color) } else { - mVertexBuffer->draw(LLRender::TRIANGLES, mIndicesCount, mIndicesIndex); mVertexBuffer->setBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0); + mVertexBuffer->draw(LLRender::TRIANGLES, mIndicesCount, mIndicesIndex); } gGL.popMatrix(); |