aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorthickbrick2011-01-14 23:59:54 +0200
committerthickbrick2011-01-14 23:59:54 +0200
commitc959177214ca5c69221e648f771958a35c8aece5 (patch)
treeb61b7f00f2c608f4fabdb29a409bed532dcf33b3 /linden/indra
parentFix #673: IMs & Logging prefs don't persist (diff)
downloadmeta-impy-c959177214ca5c69221e648f771958a35c8aece5.zip
meta-impy-c959177214ca5c69221e648f771958a35c8aece5.tar.gz
meta-impy-c959177214ca5c69221e648f771958a35c8aece5.tar.bz2
meta-impy-c959177214ca5c69221e648f771958a35c8aece5.tar.xz
Fix #771: some small lossless textures fail to load from cache
from V2.
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/lltexturefetch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexturefetch.cpp b/linden/indra/newview/lltexturefetch.cpp
index f93a574..6ab4d24 100644
--- a/linden/indra/newview/lltexturefetch.cpp
+++ b/linden/indra/newview/lltexturefetch.cpp
@@ -724,6 +724,7 @@ bool LLTextureFetchWorker::doWork(S32 param)
724 { 724 {
725 // we have enough data, decode it 725 // we have enough data, decode it
726 llassert_always(mFormattedImage->getDataSize() > 0); 726 llassert_always(mFormattedImage->getDataSize() > 0);
727 mLoadedDiscard = mDesiredDiscard;
727 mState = DECODE_IMAGE; 728 mState = DECODE_IMAGE;
728 mWriteToCacheState = NOT_WRITE ; 729 mWriteToCacheState = NOT_WRITE ;
729 LL_DEBUGS("Texture") << mID << ": Cached. Bytes: " << mFormattedImage->getDataSize() 730 LL_DEBUGS("Texture") << mID << ": Cached. Bytes: " << mFormattedImage->getDataSize()