[PATCH 2/2] comctl32/imagelist: Correctly handle alpha channel of 32bpp image.

Ziqing Hui zhui at codeweavers.com
Thu Feb 27 07:51:53 CST 2020


For 32bpp image without alpha channel ("without alpha channel" means 
each pixel's alpha is set to zero) in imagelist, wine will set each 
pixel's alpha channel to 0xff. However, this is not how windows work. 
Windows will keep the alpha as 0. Previous wine test patch can indicate it.


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
    dlls/comctl32/imagelist.c       | 24 ++++++++++--------------
    dlls/comctl32/tests/imagelist.c | 14 ++++----------
    2 files changed, 14 insertions(+), 24 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-comctl32-imagelist-Correctly-handle-alpha-channel-of.patch
Type: text/x-patch
Size: 4826 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200227/5c145367/attachment-0001.bin>


More information about the wine-devel mailing list