Introduce binary alpha

This commit is contained in:
Nigel Tao committed 2018-12-22 08:48:49 +11:00
1 parent 57e5a785f7
commit 529ebb0a61
8 files changed
+161 -88

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ const char* play() {
// Override the source's indexed pixel format to be non-indexed.
wuffs_base__pixel_config__initialize(
&ic.pixcfg, WUFFS_BASE__PIXEL_FORMAT__BGRA_NONPREMUL,
&ic.pixcfg, WUFFS_BASE__PIXEL_FORMAT__BGRA_PREMUL,
WUFFS_BASE__PIXEL_SUBSAMPLING__NONE, width, height);
const char* msg = allocate(&dec, &ic);