Commit b084e52b authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Add support for arbitrary DIB bitfields for 32-bpp conversions.

parent b2ef9218
......@@ -846,7 +846,7 @@ static void test_dib_formats(void)
case 32: expect_ok = (compr == BI_RGB || compr == BI_BITFIELDS); break;
default: expect_ok = FALSE; break;
}
todo = (compr == BI_BITFIELDS); /* wine doesn't like strange bitfields */
todo = (compr == BI_BITFIELDS) && bpp == 16; /* wine doesn't like strange bitfields */
memset( bi, 0, sizeof(bi->bmiHeader) );
bi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment