3 Dec
2012
3 Dec
'12
9:55 p.m.
Vincent Povirk <madewokherd(a)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.