summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-09-24 13:39:15 -0500
committerDave Parks <davep@lindenlab.com>2010-09-24 13:39:15 -0500
commitb7cf948a826d477508d9be51b147a84b54187709 (patch)
tree5b5d2ff46e0a5e526d0ef170ffcecc12bd6491a3 /indra/newview/llface.cpp
parentbc488500962f75ac6d5dcdac4db4f2d7f293bf89 (diff)
SH-213 Fix for crash when selecting face.
Diffstat (limited to 'indra/newview/llface.cpp')
-rwxr-xr-xindra/newview/llface.cpp2
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();