summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-05 12:42:12 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-05 12:42:12 +0100
commit476f5e064ea327b1e3426ba2efb5971ced8ba9b0 (patch)
tree961a61ff2a369fa719f6c4a622fdd347165b5320 /indra/newview/lltexturefetch.cpp
parentac787b54682cef5d11ff13fba46024030e7b1edb (diff)
parenteef6ababcdd9ae4c9cbdc5dc295420fa66e753ab (diff)
(hairy) merge from viewer-release
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.
{