diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-11-08 12:18:15 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-11-08 18:59:55 +0200 |
commit | a068928c374f7918682d069b284588af464ec43d (patch) | |
tree | 6507fe5351695c9a78a3c8e2fad136dc7175b4ab | |
parent | 7c614d0091874afc0555a1e56594671b1e37aaa9 (diff) |
viewer#3055 Fix texture fetch being stuck
destroyRawImage is the only function that calls saveRawImage(), not
calling it results in fetcher thinking that it still needs data to do
the saving and looping back to trying to fetch.
-rw-r--r-- | indra/newview/llviewertexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 56abe415fe..a17dff3336 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1555,8 +1555,8 @@ void LLViewerFetchedTexture::postCreateTexture() if (!needsToSaveRawImage()) { mNeedsAux = false; - destroyRawImage(); } + destroyRawImage(); // will save raw image if needed mNeedsCreateTexture = false; } |