From 87be73be241580d8070a1fda11e11c50f15797f6 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Wed, 28 Apr 2010 17:07:24 -0600 Subject: fix for EXT-7159: textures are not fully loaded when http-texture is enabled. and EXT-6928: Viewer crashes immediately after enabling HTTP Textures on a http-texture-server-1 simulator --- indra/llimage/llimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llimage/llimage.cpp') diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index 0874f574c5..aa7c8c789a 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -1338,7 +1338,7 @@ LLImageFormatted::LLImageFormatted(S8 codec) mCodec(codec), mDecoding(0), mDecoded(0), - mDiscardLevel(0) + mDiscardLevel(-1) { mMemType = LLMemType::MTYPE_IMAGEFORMATTED; } -- cgit v1.2.3