summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-08-04 17:22:50 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-08-04 17:22:50 -0400
commit2a8e330605ce5ca5755732920885703ab1ed875d (patch)
treeef7b530d913436a8edb0a70cfcb5449106645883 /indra/newview/lltexturefetch.cpp
parente6d5cc3bd1d678eaad7869a70b75d92772db3fc7 (diff)
parentb4b503d4ac3fb43aea61a9c0b7adb0ae50b096ab (diff)
merge
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r--indra/newview/lltexturefetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 63bcdcda2d..65a40a5b3a 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1707,7 +1707,7 @@ bool LLTextureFetch::isHTTPThrottled(S32 requested_size)
if(mHTTPTextureQueue.size() >= MAX_HTTP_QUEUE_SIZE)//if the http queue is full.
{
- if(!mHTTPThrottleFlag[TOTAL_TEXTURE_TYPES - 1])
+ if(!mHTTPThrottleFlag[type + 1])
{
for(S32 i = type + 1 ; i < TOTAL_TEXTURE_TYPES; i++) //block all requests with fetching size larger than this request.
{