mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Make wuffs_base__pixel_format a struct
This commit is contained in:
1 parent
fabfff05d1
commit
4f53f3101f
12 files changed
+401
-241
No files matched your search
@@ -328,7 +328,8 @@ const char* play() {
|
||||
|
||||
// Override the source's indexed pixel format to be non-indexed.
|
||||
wuffs_base__pixel_config__set(
|
||||
&ic.pixcfg, WUFFS_BASE__PIXEL_FORMAT__BGRA_PREMUL,
|
||||
&ic.pixcfg,
|
||||
wuffs_base__make_pixel_format(WUFFS_BASE__PIXEL_FORMAT__BGRA_PREMUL),
|
||||
WUFFS_BASE__PIXEL_SUBSAMPLING__NONE, width, height);
|
||||
|
||||
const char* msg = allocate(&dec, &ic);
|
||||
|
||||
Reference in new issue
Block a user