diff options
author | Callum Linden <callum@lindenlab.com> | 2022-10-24 17:48:16 -0700 |
---|---|---|
committer | Callum Linden <callum@lindenlab.com> | 2022-10-24 17:48:16 -0700 |
commit | 80585d56fd6ccb0875c6353c7620a8ada749d66d (patch) | |
tree | 139699b14e49609532ca717f9086f2039795801e /indra/newview/lltexturecache.cpp | |
parent | b0d69a20c262441125261c4949e59a8a1b9e9628 (diff) | |
parent | e45b6159666b3aa271eaaa366fb4bcade2c2a28b (diff) |
Merge master into DRTVWR-568 (and fix conflicts)
Diffstat (limited to 'indra/newview/lltexturecache.cpp')
-rw-r--r-- | indra/newview/lltexturecache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index d4fc6f3de2..9403e73b87 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1042,7 +1042,8 @@ void LLTextureCache::setReadOnly(BOOL read_only) mReadOnly = read_only ; } -//called in the main thread. +// Called in the main thread. +// Returns the unused amount of max_size if any S64 LLTextureCache::initCache(ELLPath location, S64 max_size, BOOL texture_cache_mismatch) { llassert_always(getPending() == 0) ; //should not start accessing the texture cache before initialized. |