summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpool.cpp
diff options
context:
space:
mode:
authorgraham linden <graham@lindenlab.com>2013-03-05 13:42:57 -0800
committergraham linden <graham@lindenlab.com>2013-03-05 13:42:57 -0800
commit046014aa10e535bfa18e3d7b4c2da70284a615ae (patch)
treea2ddc78c2da49f22ae6c11195b0fbc5c27e32e5b /indra/newview/lldrawpool.cpp
parentb19eeabd54afcfb56e864899c166b64db1ac6790 (diff)
parenta65c275865f1cc9bf53237e4b8c99a7bee3731ee (diff)
Merged lindenlab/viewer-cat into default
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
-rw-r--r--indra/newview/lldrawpool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp
index 94dd927d26..d8f293cc62 100644
--- a/indra/newview/lldrawpool.cpp
+++ b/indra/newview/lldrawpool.cpp
@@ -472,6 +472,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);