diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-02-18 06:15:12 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-02-18 06:15:12 -0500 |
| commit | 17f79c802023d3b220986321f51757b102b70e81 (patch) | |
| tree | 93fd855bf772d1f0deac96a504323a707c112ea7 /indra/newview/lltexturecache.cpp | |
| parent | d0b4c4a7b2c454d1a287af4a3a7b7342609d555d (diff) | |
| parent | c89e281de1420254f8028f4dff907cf1ae985d7a (diff) | |
merge changes for viewer-vs2010
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 |
