Pulled in fix for maint-4184 blurry textures
commit
fb7c5efe32
|
|
@ -257,7 +257,8 @@ inline void ll_memcpy_nonaliased_aligned_16(char* __restrict dst, const char* __
|
|||
assert((bytes % sizeof(F32))== 0);
|
||||
ll_assert_aligned(src,16);
|
||||
ll_assert_aligned(dst,16);
|
||||
assert((src < dst) ? ((src + bytes) < dst) : ((dst + bytes) < src));
|
||||
|
||||
assert((src < dst) ? ((src + bytes) <= dst) : ((dst + bytes) <= src));
|
||||
assert(bytes%16==0);
|
||||
|
||||
char* end = dst + bytes;
|
||||
|
|
|
|||
|
|
@ -1260,9 +1260,13 @@ bool LLTransferTarget::addDelayedPacket(
|
|||
size);
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (mDelayedPacketMap.find(packet_id) != mDelayedPacketMap.end())
|
||||
transfer_packet_map::iterator iter = mDelayedPacketMap.find(packet_id);
|
||||
if (iter != mDelayedPacketMap.end())
|
||||
{
|
||||
LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
|
||||
if (!(iter->second->mSize == size) && !(iter->second->mDatap == datap))
|
||||
{
|
||||
LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -2650,7 +2650,9 @@ bool LLTextureFetch::createRequest(FTType f_type, const std::string& url, const
|
|||
worker->setImagePriority(priority);
|
||||
worker->setDesiredDiscard(desired_discard, desired_size);
|
||||
worker->setCanUseHTTP(can_use_http);
|
||||
worker->setUrl(url);
|
||||
|
||||
//MAINT-4184 url is always empty. Do not set with it.
|
||||
|
||||
if (!worker->haveWork())
|
||||
{
|
||||
worker->setState(LLTextureFetchWorker::INIT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue