Fixed an edge case that was triggering an error check when doing HTTP texture fetches.

master
Steve Bennetts 2009-12-15 14:44:41 -08:00
parent 870d4449f5
commit 710d2a6db3
1 changed files with 2 additions and 0 deletions

View File

@ -887,6 +887,8 @@ bool LLTextureFetchWorker::doWork(S32 param)
}
else
{
// mFormattedImage gauranteed to not be NULL since cur_size != 0
mLoadedDiscard = mFormattedImage->getDiscardLevel();
mState = DECODE_IMAGE;
return false; // use what we have
}