diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-08-01 19:55:16 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-08-02 12:21:11 +0300 |
commit | 793f5ac3411882a53a49916f031090d1b6c72335 (patch) | |
tree | c5bdda6bec78b665f6ebc850cde00941deefee4b /indra/newview/llviewertexture.cpp | |
parent | 0ff2bd1a405e4b7f3af5f815d02124017f23d468 (diff) |
Crash at LLViewerTexture::updateClass()
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 9648a9af18..8faa86876f 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -539,9 +539,9 @@ void LLViewerTexture::updateClass() LL_WARNS() << "Low system memory detected, emergency downrezzing off screen textures" << LL_ENDL; sDesiredDiscardBias = llmax(sDesiredDiscardBias, 1.5f); - for (auto image : gTextureList) + for (auto& image : gTextureList) { - gTextureList.updateImageDecodePriority(image); + gTextureList.updateImageDecodePriority(image, false /*will modify gTextureList otherwise!*/); } } |