gdi32: Display the depth of a bitmap rather than the total number colors.

This commit is contained in:
Huw Davies 2011-10-05 09:11:20 -05:00 committed by Alexandre Julliard
parent 82f4538c55
commit 9969b8dec1
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}