diff options
Diffstat (limited to 'linden/indra/newview/lltexturecache.cpp')
-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 | } |