aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/lltexturecache.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp
index 3cedf73..5548bc9 100644
--- a/linden/indra/newview/lltexturecache.cpp
+++ b/linden/indra/newview/lltexturecache.cpp
@@ -832,16 +832,14 @@ bool LLTextureCache::updateTextureEntryList(const LLUUID& id, S32 bodysize)
832 S32 idx = openAndReadEntry(id, entry, false); 832 S32 idx = openAndReadEntry(id, entry, false);
833 if (idx < 0) 833 if (idx < 0)
834 { 834 {
835 // TODO: change to llwarns 835 llwarns << "Failed to open entry: " << id << llendl;
836 llerrs << "Failed to open entry: " << id << llendl;
837 mHeaderMutex.unlock(); 836 mHeaderMutex.unlock();
838 removeFromCache(id); 837 removeFromCache(id);
839 return false; 838 return false;
840 } 839 }
841 else if (oldbodysize != entry.mBodySize) 840 else if (oldbodysize != entry.mBodySize)
842 { 841 {
843 // TODO: change to llwarns 842 llwarns << "Entry mismatch in mTextureSizeMap / mHeaderIDMap"
844 llerrs << "Entry mismatch in mTextureSizeMap / mHeaderIDMap"
845 << " idx=" << idx << " oldsize=" << oldbodysize << " entrysize=" << entry.mBodySize << llendl; 843 << " idx=" << idx << " oldsize=" << oldbodysize << " entrysize=" << entry.mBodySize << llendl;
846 } 844 }
847 entry.mBodySize = bodysize; 845 entry.mBodySize = bodysize;