gdi32: Display the depth of a bitmap rather than the total number colors.
This commit is contained in:
parent
82f4538c55
commit
9969b8dec1
|
@ -332,8 +332,8 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
|
|||
if (bm.bmBits)
|
||||
SetBitmapBits( hbitmap, bm.bmHeight * bm.bmWidthBytes, bm.bmBits );
|
||||
|
||||
TRACE("%dx%d, %d colors returning %p\n", bm.bmWidth, bm.bmHeight,
|
||||
1 << (bm.bmPlanes * bm.bmBitsPixel), hbitmap);
|
||||
TRACE("%dx%d, bpp %d planes %d: returning %p\n", bm.bmWidth, bm.bmHeight,
|
||||
bm.bmBitsPixel, bm.bmPlanes, hbitmap);
|
||||
|
||||
return hbitmap;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue