[PATCH] user32: Create a mask from alpha channel when loading a 32 bpp icon. (v4)
Alex Henrie
alexhenrie24 at gmail.com
Wed Aug 22 09:09:24 CDT 2018
On Wed, Aug 22, 2018 at 12:00 AM Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> + for (bit_off = 0; bit_off < 8; bit_off++, mask >>= 1, src += 4)
> + {
> + if (src[3] != 0xff && x + bit_off < bmi_width)
> + *dst_byte |= mask;
> + }
Does this mean that only fully transparent pixels are added to the
mask? If so, why not include any pixel that is more than 50%
transparent?
-Alex
More information about the wine-devel
mailing list