mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
gdi32/tests: Fix a test failure on Win9x/WinME.
This commit is contained in:
parent
214311c620
commit
9f4283dcc6
@ -1954,7 +1954,9 @@ static void test_select_object(void)
|
||||
ok(bm.bmWidthBytes == BITMAP_GetWidthBytes(bm.bmWidth, bm.bmBitsPixel), "wrong bmWidthBytes %d\n", bm.bmWidthBytes);
|
||||
ok(bm.bmPlanes == planes, "wrong bmPlanes %u\n", bm.bmPlanes);
|
||||
if(depths[i] == 15) {
|
||||
ok(bm.bmBitsPixel == 16, "wrong bmBitsPixel %d(15 bpp special)\n", bm.bmBitsPixel);
|
||||
ok(bm.bmBitsPixel == 16 ||
|
||||
broken(bm.bmBitsPixel == 15), /* Win9x/WinME */
|
||||
"wrong bmBitsPixel %d(15 bpp special)\n", bm.bmBitsPixel);
|
||||
} else {
|
||||
ok(bm.bmBitsPixel == depths[i], "wrong bmBitsPixel %d\n", bm.bmBitsPixel);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user