Commits

Merov Linden  committed 7746904

EXP-664 : Fix call to initialization encoding

  • Participants
  • Parent commits 17ee8dc

Comments (0)

Files changed (1)

File indra/newview/llviewertexturelist.cpp

 		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))