summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
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-22 20:58:50 +0200
commit2d82fa2bc5321ac4372c256f46fe5a26e58c1a90 (patch)
tree32406580abd53872fbcf1bac155836636b23d10e /indra/newview/llviewertexture.cpp
parentbedf884cafee5529f011a5b47aa403fa48d27227 (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/newview/llviewertexture.cpp')
-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 03c586b270..4a15b8624a 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1557,8 +1557,8 @@ void LLViewerFetchedTexture::postCreateTexture()
if (!needsToSaveRawImage())
{
mNeedsAux = false;
- destroyRawImage();
}
+ destroyRawImage(); // will save raw image if needed
mNeedsCreateTexture = false;
}