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/llviewerwindow.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/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |