summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-04-28 17:07:24 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-04-28 17:07:24 -0600
commit87be73be241580d8070a1fda11e11c50f15797f6 (patch)
treed2f03fa8ac349f3296e94d1fa2d809a643079e63 /indra/llimage
parent6837f660380d1d5ddff021e6c14273937ff11036 (diff)
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
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimage.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}