summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-05-04 23:20:15 -0700
committerMerov Linden <merov@lindenlab.com>2011-05-04 23:20:15 -0700
commitc03eb76bcf66665ee8a7618dbec0d13e3fc66c32 (patch)
treed15600cf408d5c63ed57e87749c2f6062c283af5 /indra/newview
parentc6c1419faa6e4acef19b3ddfc6c89b4a10bca15f (diff)
EXP-664 : Fix call to initialization encoding
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewertexturelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index 182cba0e8c..8cf9b98d5d 100644
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -999,7 +999,7 @@ LLPointer<LLImageJ2C> LLViewerTextureList::convertToUploadFile(LLPointer<LLImage
S32 block_size = gSavedSettings.getS32("Jpeg2000BlocksSize");
S32 precinct_size = gSavedSettings.getS32("Jpeg2000PrecinctsSize");
llinfos << "Advanced JPEG2000 Compression: precinct = " << precinct_size << ", block = " << block_size << llendl;
- compressedImage->initEncode(*raw_image, block_size, precinct_size);
+ compressedImage->initEncode(*raw_image, block_size, precinct_size, 0);
}
if (!compressedImage->encode(raw_image, 0.0f))