diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-04-24 12:34:05 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-04-28 10:36:26 -0700 |
commit | 6b83fabf729fd9d866fb150166cbd0af50f7f99d (patch) | |
tree | 9ea1a506e68808cf1109df7ce14311611ee8711d /indra/newview/lldrawpoolbump.cpp | |
parent | b21e16f27d215cd2e564af7c48cba86459d07645 (diff) |
SL-19644: Move GLTF transform reset out of pushBatch
Diffstat (limited to 'indra/newview/lldrawpoolbump.cpp')
-rw-r--r-- | indra/newview/lldrawpoolbump.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp index 75b47b2c22..a548740ec4 100644 --- a/indra/newview/lldrawpoolbump.cpp +++ b/indra/newview/lldrawpoolbump.cpp @@ -1254,15 +1254,13 @@ void LLDrawPoolBump::pushBumpBatches(U32 type) } } -void LLDrawPoolBump::pushBatch(LLDrawInfo& params, bool texture, bool batch_textures, bool reset_gltf) +void LLDrawPoolBump::pushBatch(LLDrawInfo& params, bool texture, bool batch_textures) { LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWPOOL; applyModelMatrix(params); bool tex_setup = false; - if (reset_gltf) { LLRenderPass::resetGLTFTextureTransform(); } - if (batch_textures && params.mTextureList.size() > 1) { for (U32 i = 0; i < params.mTextureList.size(); ++i) |