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/llviewerwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llviewerwindow.cpp') diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 82246b564c..7f7275c8d1 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -5039,7 +5039,7 @@ bool LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei mWorldViewRectRaw.set(0, image_height, image_width, 0); LLViewerCamera::getInstance()->setViewHeightInPixels( mWorldViewRectRaw.getHeight() ); LLViewerCamera::getInstance()->setAspect( getWorldViewAspectRatio() ); - scratch_space.bindTarget("", 0); + scratch_space.bindTarget(); } else { @@ -5306,7 +5306,7 @@ bool LLViewerWindow::simpleSnapshot(LLImageRaw* raw, S32 image_width, S32 image_ { mWorldViewRectRaw.set(0, image_height, image_width, 0); - scratch_space.bindTarget("", 0); + scratch_space.bindTarget(); } else { -- cgit v1.2.3