From 067d83b640d3fae45098ef8bc71e913c1eb65a44 Mon Sep 17 00:00:00 2001 From: mobserveur Date: Thu, 11 Sep 2025 18:50:58 +0200 Subject: 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. --- indra/newview/lldynamictexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/lldynamictexture.cpp') 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; -- cgit v1.2.3