Texfetch/cache changes:
Added SEND_UDP_REQ and WAIT_UDP_REQ fetch states. Parse 'content-range' from headers. Purge 'complete' textures from the cache if they lack 'end of codestream' marker. Added boostlevel/category to textureview display. More diagnostic output. Discard handling tweaks/bugfixes from v3.
This commit is contained in:
@@ -373,9 +373,9 @@ bool LLTextureCacheRemoteWorker::doRead()
|
||||
if (!done && (mState == LOCAL))
|
||||
{
|
||||
llassert(local_size != 0); // we're assuming there is a non empty local file here...
|
||||
if (!mDataSize || mDataSize > local_size - mOffset)
|
||||
if (!mDataSize || mDataSize > local_size/* - mOffset*/)
|
||||
{
|
||||
mDataSize = local_size - mOffset;
|
||||
mDataSize = local_size/* - mOffset*/;
|
||||
}
|
||||
// Allocate read buffer
|
||||
mReadData = (U8*)ALLOCATE_MEM(LLImageBase::getPrivatePool(), mDataSize);
|
||||
|
||||
Reference in New Issue
Block a user