summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-02-18 17:35:43 +0200
committerandreykproductengine <akleshchev@productengine.com>2016-02-18 17:35:43 +0200
commit10e2bd56c1722526d14656aa6870a23b86f51333 (patch)
tree97069a5b180135ff945bf927f98282319b05c5cc /indra/newview/lltexturefetch.cpp
parenta0e9ee475758c1825ba4a0957f4047e1dc24c8a3 (diff)
MAINT-2199 In some rare cases priorities can change, it shouldn't affect texture list.
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rwxr-xr-xindra/newview/lltexturefetch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index f845ecc455..27d754bed2 100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -4460,7 +4460,7 @@ void LLTextureFetchDebugger::addHistoryEntry(LLTextureFetchWorker* worker)
mRefetchedAllData += worker->mFormattedImage->getDataSize();
// refetch list only requests/creates normal images, so requesting ui='false'
- LLViewerFetchedTexture* tex = LLViewerTextureManager::findFetchedTexture(worker->mID, false);
+ LLViewerFetchedTexture* tex = LLViewerTextureManager::findFetchedTexture(worker->mID, TEX_LIST_DISCARD);
if(tex && mRefetchList[tex].begin() != mRefetchList[tex].end())
{
if(worker->mDecodedDiscard == mFetchingHistory[mRefetchList[tex][0]].mDecodedLevel)
@@ -4780,7 +4780,7 @@ void LLTextureFetchDebugger::makeRefetchList()
}
// todo: Will attempt to refetch icons and ui elements as normal images (boost_none)
- // thus will create unnesesary LLViewerFetchedTexture, consider supporting separate UI textures
+ // thus will create unnecessary LLViewerFetchedTexture, consider supporting separate UI textures
mRefetchList[tex].push_back(i);
}
}