[PATCH 0/1] MR315: windowscodecs: Fix non-zero alpha detection in ImagingFactory_CreateBitmapFromHICON.

Esme Povirk (@madewokherd) wine at gitlab.winehq.org
Mon Jun 27 12:35:38 CDT 2022


This didn't initially look right to me because the loop is written in a confusing way. We should always change x in the inner loop. I think it's probably correct but I'd like to see it cleaned up a bit more.

Since we don't actually care about the x and y coordinates, I would suggest a single loop over `width * height` pixels.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/315#note_2801



More information about the wine-devel mailing list