Tweak pixel_format bits

This commit is contained in:
Nigel Tao committed 2020-05-16 10:12:16 +10:00
1 parent ddc41cb43f
commit 9a1b8def46
9 files changed
+212 -148

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ pub func config_decoder.decode_image_config?(dst: nptr base.image_config, src: b
// TODO: a Wuffs (not just C) name for the
// WUFFS_BASE__PIXEL_FORMAT__INDEXED__BGRA_BINARY magic pixfmt constant.
args.dst.set!(
pixfmt: 0x4704_0008,
pixfmt: 0x8304_0008,
pixsub: 0,
width: this.width,
height: this.height,