Huw Davies : gdi32: Display the depth of a bitmap rather than the total number colors.
Module: wine Branch: master Commit: 9969b8dec1e08e5645a013627e0b696abb774fc7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9969b8dec1e08e5645a013627e... Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Oct 5 09:11:20 2011 -0500 gdi32: Display the depth of a bitmap rather than the total number colors. --- dlls/gdi32/bitmap.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/bitmap.c b/dlls/gdi32/bitmap.c index 9c77016..7c8fa54 100644 --- a/dlls/gdi32/bitmap.c +++ b/dlls/gdi32/bitmap.c @@ -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; }
participants (1)
-
Alexandre Julliard