diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-22 15:44:35 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-22 15:44:35 -0700 |
commit | b3466243073c2693be4c32b3586a191c30095d01 (patch) | |
tree | 6f990c486b83c203ab67277a4a673cc3971ff84f /indra/newview/lldrawpool.cpp | |
parent | aa4b24beee1d6451370983517d7ac3755429e26f (diff) |
SL-10761
Make vograss objects set their face vert/index counts to 0 when setting
the number of blades to 0 to disable rendering so we don't allocate space
and then skip setting it up with actual index data in getGeometry.
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
-rw-r--r-- | indra/newview/lldrawpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp index b110a6a810..2aee7b450a 100644 --- a/indra/newview/lldrawpool.cpp +++ b/indra/newview/lldrawpool.cpp @@ -408,7 +408,7 @@ void LLRenderPass::renderGroup(LLSpatialGroup* group, U32 type, U32 mask, BOOL t void LLRenderPass::renderTexture(U32 type, U32 mask, BOOL batch_textures) { - pushBatches(type, mask, batch_textures); + pushBatches(type, mask, true, batch_textures); } void LLRenderPass::pushBatches(U32 type, U32 mask, BOOL texture, BOOL batch_textures) |