summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpool.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-10-03 18:04:27 -0400
committerOz Linden <oz@lindenlab.com>2013-10-03 18:04:27 -0400
commit4dccf30bf318649c7b371355fd34cde6c143e867 (patch)
tree4acbdefe0bb187a817583e835112f4317e11d596 /indra/newview/lldrawpool.cpp
parentbd18f3c097304504c398df02613229a64f7eac81 (diff)
parentf7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff)
merge changes for 3.6.7-release
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
-rwxr-xr-xindra/newview/lldrawpool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp
index 04e31e6486..714f9a1718 100755
--- a/indra/newview/lldrawpool.cpp
+++ b/indra/newview/lldrawpool.cpp
@@ -504,6 +504,7 @@ void LLRenderPass::pushBatch(LLDrawInfo& params, U32 mask, BOOL texture, BOOL ba
{
params.mGroup->rebuildMesh();
}
+
params.mVertexBuffer->setBuffer(mask);
params.mVertexBuffer->drawRange(params.mDrawMode, params.mStart, params.mEnd, params.mCount, params.mOffset);
gPipeline.addTrianglesDrawn(params.mCount, params.mDrawMode);