diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-08-30 10:57:44 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-08-30 10:57:44 -0700 |
commit | 9004cf64bf5066a778eea39a4ab48623b04c6d42 (patch) | |
tree | 46cdc0a22ecee88f3e7c0e30492fa25c32701fe3 /indra/newview | |
parent | 0b062be30862e645bb9a660067f9783d63e2fa34 (diff) |
secondlife/viewer#2448: Fix crash rendering rigged PBR prims
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lldrawpoolpbropaque.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.cpp b/indra/newview/lldrawpoolpbropaque.cpp index 4ea23412e6..07f8ccb549 100644 --- a/indra/newview/lldrawpoolpbropaque.cpp +++ b/indra/newview/lldrawpoolpbropaque.cpp @@ -62,8 +62,9 @@ void LLDrawPoolGLTFPBR::renderDeferred(S32 pass) gDeferredPBROpaqueProgram.bind(); pushGLTFBatches(mRenderType); - gDeferredPBROpaqueProgram.bind(true); LL::GLTFSceneManager::instance().render(true, true); + + gDeferredPBROpaqueProgram.bind(true); pushRiggedGLTFBatches(mRenderType + 1); } |