Missed a piece of a fix for the case we receive complete texture data instead of what we asked for.

The rest of the fix landed in commit c37a473287 by accident.
This commit is contained in:
Siana Gearz
2012-11-13 23:54:23 +01:00
parent 8c9a9c9d12
commit fbb7196100

View File

@@ -1908,6 +1908,7 @@ S32 LLTextureFetchWorker::callbackHttpGet(const LLChannelDescriptors& channels,
// *TODO: This shouldn't be happening any more
llwarns << "data_size = " << data_size << " > requested: " << mRequestedSize << llendl;
mHaveAllData = TRUE;
mRequestedOffset = 0;
llassert_always(mDecodeHandle == 0);
mFormattedImage = NULL; // discard any previous data we had
}