Commit 9969b8de authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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

parent 82f4538c
...@@ -332,8 +332,8 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp ) ...@@ -332,8 +332,8 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
if (bm.bmBits) if (bm.bmBits)
SetBitmapBits( hbitmap, bm.bmHeight * bm.bmWidthBytes, bm.bmBits ); SetBitmapBits( hbitmap, bm.bmHeight * bm.bmWidthBytes, bm.bmBits );
TRACE("%dx%d, %d colors returning %p\n", bm.bmWidth, bm.bmHeight, TRACE("%dx%d, bpp %d planes %d: returning %p\n", bm.bmWidth, bm.bmHeight,
1 << (bm.bmPlanes * bm.bmBitsPixel), hbitmap); bm.bmBitsPixel, bm.bmPlanes, hbitmap);
return hbitmap; return hbitmap;
} }
......
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