diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2010-08-04 11:19:39 -0600 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2010-08-04 11:19:39 -0600 | 
| commit | aaa41211c83a9dcc9ff3db84c7e4b9de985be692 (patch) | |
| tree | 9fc1f9a913898a22559cf9d88c4f226737c1e9a6 /indra/newview | |
| parent | 68bb4e3f6a51244472374c5178e5cdd9dab23b7b (diff) | |
| parent | 8f56413c919b4e76de0865534e2c10fc0e8b57b4 (diff) | |
Automated merge with ssh://hg.lindenlab.com/q/viewer-release
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/lltexturefetch.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltexturefetch.h | 1 | 
2 files changed, 2 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.		  			{ diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h index bae2ceff72..c31c38b04a 100644 --- a/indra/newview/lltexturefetch.h +++ b/indra/newview/lltexturefetch.h @@ -141,6 +141,7 @@ private:  		SMALL_TEXTURE = 0 , //size <= 64 * 64  		MEDIUM_TEXTURE,     //size <= 256 * 256  		LARGE_TEXTURE,      //size > 256 * 256 +		DUMMY,  		TOTAL_TEXTURE_TYPES  	};  	BOOL mHTTPThrottleFlag[TOTAL_TEXTURE_TYPES]; | 
