diff options
author | Aleric Inglewood | 2010-10-25 14:59:48 +0200 |
---|---|---|
committer | Aleric Inglewood | 2010-10-25 14:59:48 +0200 |
commit | d1b840a0137dee05d424c477de0ba757be89af6d (patch) | |
tree | fadebeb760f335c4c4653af064f1a14f807cff2c /linden | |
parent | Download prebuilt vivox (and 32bitcompatibilitylibs on 64bit) even when using... (diff) | |
download | meta-impy-d1b840a0137dee05d424c477de0ba757be89af6d.zip meta-impy-d1b840a0137dee05d424c477de0ba757be89af6d.tar.gz meta-impy-d1b840a0137dee05d424c477de0ba757be89af6d.tar.bz2 meta-impy-d1b840a0137dee05d424c477de0ba757be89af6d.tar.xz |
Validate textures starting with 00 too.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltexturecache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index a9b7f81..b0d8412 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp | |||
@@ -1345,7 +1345,7 @@ void LLTextureCache::purgeTextures(bool validate) | |||
1345 | if (validate) | 1345 | if (validate) |
1346 | { | 1346 | { |
1347 | validate_idx = gSavedSettings.getU32("CacheValidateCounter"); | 1347 | validate_idx = gSavedSettings.getU32("CacheValidateCounter"); |
1348 | U32 next_idx = (++validate_idx) % 256; | 1348 | U32 next_idx = (validate_idx + 1) % 256; |
1349 | gSavedSettings.setU32("CacheValidateCounter", next_idx); | 1349 | gSavedSettings.setU32("CacheValidateCounter", next_idx); |
1350 | LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Validating: " << validate_idx << LL_ENDL; | 1350 | LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Validating: " << validate_idx << LL_ENDL; |
1351 | } | 1351 | } |