diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-27 09:28:57 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-27 09:28:57 -0500 |
commit | f59b065a973c88c09da5a86bbcfb7e4175148532 (patch) | |
tree | 599b8cb554bec459bf2b4be72dc1d7b1e5bdac20 /indra/newview/lltexturecache.cpp | |
parent | 5833672c5c10722e92137fb1f439df5045e4a9e6 (diff) | |
parent | 8b2b0ba2df1f21490f6cf454a5f62cf5f7b4f833 (diff) |
update autobuild configuration
Diffstat (limited to 'indra/newview/lltexturecache.cpp')
-rw-r--r-- | indra/newview/lltexturecache.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 6ddbdbf783..f54214b95c 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -326,6 +326,7 @@ bool LLTextureCacheRemoteWorker::doRead() // First state / stage : find out if the file is local if (mState == INIT) { +#if 0 std::string filename = mCache->getLocalFileName(mID); // Is it a JPEG2000 file? { @@ -360,6 +361,11 @@ bool LLTextureCacheRemoteWorker::doRead() } // Determine the next stage: if we found a file, then LOCAL else CACHE mState = (local_size > 0 ? LOCAL : CACHE); + + llassert_always(mState == CACHE) ; +#else + mState = CACHE; +#endif } // Second state / stage : if the file is local, load it and leave |