[3/3] gdiplus: Bitmaps created from a 32-bit dib should be PARGB.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Dec 3 21:55:28 CST 2012
Vincent Povirk <madewokherd at gmail.com> wrote:
> case 32:
> - format = PixelFormat32bppRGB;
> + if (bm.bmBits)
> + format = PixelFormat32bppPARGB;
> + else
> + format = PixelFormat32bppRGB;
Besides the test failure, to my eyes
format = bm.bmBits ? PixelFormat32bppPARGB : PixelFormat32bppRGB;
looks shorter and clearer.
--
Dmitry.
More information about the wine-devel
mailing list