21 Aug
2023
21 Aug
'23
5:28 p.m.
Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/image.c:
- } + /* read alpha data from the mask */ + GetDIBits(screendc, iinfo.hbmMask, 0, height, bits, (BITMAPINFO*)&bih, DIB_RGB_COLORS);
- heap_free(bits); - } - else + src = (DWORD*)bits; + dst_row = lockeddata.Scan0; + for (y=0; y<height; y++) { - /* set constant alpha of 255 */ - dst_row = lockeddata.Scan0; - for (y=0; y<height; y++) + dst = (DWORD*)dst_row; + for (x=0; x<height; x++) I think it should be
for (x=0; x<width; x++)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3621#note_42885