summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-11-08 12:18:15 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-11-08 18:59:55 +0200
commita068928c374f7918682d069b284588af464ec43d (patch)
tree6507fe5351695c9a78a3c8e2fad136dc7175b4ab /indra
parent7c614d0091874afc0555a1e56594671b1e37aaa9 (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.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewertexture.cpp2
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;
}