Skip to content

Commit afa75f3

Browse files
BC1 palette refactor and improvements (image-rs#74)
1 parent 9023bc4 commit afa75f3

19 files changed

+678
-695
lines changed

src/encode/bc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub(crate) const BC2_UNORM_PREMULTIPLIED_ALPHA: EncoderSet =
242242

243243
fn get_bc3_options(options: &EncodeOptions) -> (bc1::Bc1Options, bc4::Bc4Options) {
244244
let mut bc1_options = get_bc1_options(options);
245-
bc1_options.no_default = true;
245+
bc1_options.no_p3_default = true;
246246

247247
let mut bc4_options = get_bc4_options(options);
248248
bc4_options.snorm = false;

0 commit comments

Comments
 (0)