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.
meow-7.2.2
Andrey Kleshchev 2024-11-08 12:18:15 +02:00 committed by Andrey Kleshchev
parent bedf884caf
commit 2d82fa2bc5
1 changed files with 1 additions and 1 deletions

View File

@ -1557,8 +1557,8 @@ void LLViewerFetchedTexture::postCreateTexture()
if (!needsToSaveRawImage())
{
mNeedsAux = false;
destroyRawImage();
}
destroyRawImage(); // will save raw image if needed
mNeedsCreateTexture = false;
}