gdi32: Test the bit depth of compatible bitmaps explicitly.
This commit is contained in:
parent
211f429579
commit
f2547427c0
|
@ -182,7 +182,8 @@ static void test_createdibitmap(void)
|
||||||
|
|
||||||
/* Now select a polychrome bitmap into the dc and we expect
|
/* Now select a polychrome bitmap into the dc and we expect
|
||||||
screen_depth bitmaps again */
|
screen_depth bitmaps again */
|
||||||
hbm_colour = CreateCompatibleBitmap(hdc, 1, 1);
|
hbm_colour = CreateCompatibleBitmap(hdc, bmih.biWidth, bmih.biHeight);
|
||||||
|
test_bitmap_info(hbm_colour, screen_depth, &bmih);
|
||||||
hbm_old = SelectObject(hdcmem, hbm_colour);
|
hbm_old = SelectObject(hdcmem, hbm_colour);
|
||||||
|
|
||||||
/* First try 32 bits */
|
/* First try 32 bits */
|
||||||
|
|
Loading…
Reference in New Issue