diff options
author | mobserveur <mobserveur@gmail.com> | 2025-09-11 18:50:58 +0200 |
---|---|---|
committer | mobserveur <mobserveur@gmail.com> | 2025-09-11 18:50:58 +0200 |
commit | 067d83b640d3fae45098ef8bc71e913c1eb65a44 (patch) | |
tree | 245cee2165d49b9c593d47f14f753c8e20373ae5 /indra/newview/lldynamictexture.cpp | |
parent | ccf0114f36968d6cf6dfb11e1c5a035406314924 (diff) |
Fix for multithreaded textures on Mac and more optimisations
This commit fixes an issue with the multithreaded textures option on Mac
and adds some more optimisations.
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
-rw-r--r-- | indra/newview/lldynamictexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp index 33325e352f..984f8ee25e 100644 --- a/indra/newview/lldynamictexture.cpp +++ b/indra/newview/lldynamictexture.cpp @@ -204,7 +204,7 @@ bool LLViewerDynamicTexture::updateAllInstances() llassert(bake_target.getHeight() >= (U32) LLAvatarAppearanceDefines::SCRATCH_TEX_HEIGHT); preview_target.bindTarget(); - preview_target.clear(); + //preview_target.clear(); LLGLSLShader::unbind(); LLVertexBuffer::unbind(); @@ -249,7 +249,7 @@ bool LLViewerDynamicTexture::updateAllInstances() // ORDER_LAST is baked skin preview, ORDER_RESET resets appearance parameters and does not render. bake_target.bindTarget(); - bake_target.clear(); + //bake_target.clear(); result = false; ret = false; |