diff options
| author | Aleric Inglewood <Aleric.Inglewood@gmail.com> | 2011-01-24 09:35:41 -0500 | 
|---|---|---|
| committer | Aleric Inglewood <Aleric.Inglewood@gmail.com> | 2011-01-24 09:35:41 -0500 | 
| commit | 295536ae98cb88bfa551ac73ae2e19a8c2ddfc88 (patch) | |
| tree | 39bf7313bcb9784e99a43a9647ec9d106a8425f0 /indra | |
| parent | 7a453b7c9351a743b222bbb2b94809cf7c6b3ce8 (diff) | |
VWR-24321: fix validation of textures that start with 00
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/lltexturecache.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 92080d1fd7..6ddbdbf783 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1592,7 +1592,7 @@ void LLTextureCache::purgeTextures(bool validate)  	if (validate)  	{  		validate_idx = gSavedSettings.getU32("CacheValidateCounter"); -		U32 next_idx = (++validate_idx) % 256; +		U32 next_idx = (validate_idx + 1) % 256;  		gSavedSettings.setU32("CacheValidateCounter", next_idx);  		LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Validating: " << validate_idx << LL_ENDL;  	} | 
