From a3b2453cb054fe041f9b44893540f178c5a82d5b Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 16 Aug 2010 12:38:47 -0700 Subject: Incremented LLTextureCache::sHeaderCacheVersion to 1.3 and cache_version to 7 to fix SNOW-799 --- linden/indra/newview/llappviewer.cpp | 2 +- linden/indra/newview/lltexturecache.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 7879b36..f1cd447 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp @@ -2919,7 +2919,7 @@ bool LLAppViewer::initCache() // Purge cache if it belongs to an old version else { - static const S32 cache_version = 6; + static const S32 cache_version = 7; if (gSavedSettings.getS32("LocalCacheVersion") != cache_version) { mPurgeCache = true; diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index c5c14b5..2ed3bf5 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp @@ -869,7 +869,7 @@ bool LLTextureCache::updateTextureEntryList(const LLUUID& id, S32 bodysize) //static const S32 MAX_REASONABLE_FILE_SIZE = 512*1024*1024; // 512 MB -F32 LLTextureCache::sHeaderCacheVersion = 1.2f; +F32 LLTextureCache::sHeaderCacheVersion = 1.3f; U32 LLTextureCache::sCacheMaxEntries = MAX_REASONABLE_FILE_SIZE / TEXTURE_CACHE_ENTRY_SIZE; S64 LLTextureCache::sCacheMaxTexturesSize = 0; // no limit const char* entries_filename = "texture.entries"; -- cgit v1.1