Rename some color_u32_argb_premul conversion funcs

This commit is contained in:
Nigel Tao committed 2020-05-19 23:39:26 +10:00
1 parent c7e5ca1545
commit f3b9704e4d
5 files changed
+110 -88

No files matched your search

+2 -1
View File
@@ -330,7 +330,8 @@ fill_rectangle(wuffs_base__rect_ie_u32 rect,
if (rect.max_excl_y > g_height) {
rect.max_excl_y = g_height;
}
uint32_t nonpremul = wuffs_base__nonpremul_u32_axxx(color);
uint32_t nonpremul =
wuffs_base__color_u32_argb_premul__as__color_u32_argb_nonpremul(color);
wuffs_base__table_u8 tab = wuffs_base__pixel_buffer__plane(&g_pixbuf, 0);
uint32_t y;