Vincent Povirk : gdiplus: Always trace pixel formats in hex.

Alexandre Julliard julliard at winehq.org
Mon Jan 25 11:21:06 CST 2010


Module: wine
Branch: master
Commit: 8be3e5cf29dabacab7b3b27e4a281b00c6fa0e1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8be3e5cf29dabacab7b3b27e4a281b00c6fa0e1a

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Dec 18 16:22:25 2009 -0600

gdiplus: Always trace pixel formats in hex.

---

 dlls/gdiplus/image.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 9227751..4d6448e 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -429,7 +429,7 @@ GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap* bitmap, GDIPCONST GpRect* rect,
     UINT abs_height;
     GpRect act_rect; /* actual rect to be used */
 
-    TRACE("%p %p %d %d %p\n", bitmap, rect, flags, format, lockeddata);
+    TRACE("%p %p %d 0x%x %p\n", bitmap, rect, flags, format, lockeddata);
 
     if(!lockeddata || !bitmap)
         return InvalidParameter;
@@ -623,7 +623,7 @@ GpStatus WINGDIPAPI GdipCloneBitmapArea(REAL x, REAL y, REAL width, REAL height,
     Rect area;
     GpStatus stat;
 
-    TRACE("(%f,%f,%f,%f,%i,%p,%p)\n", x, y, width, height, format, srcBitmap, dstBitmap);
+    TRACE("(%f,%f,%f,%f,0x%x,%p,%p)\n", x, y, width, height, format, srcBitmap, dstBitmap);
 
     if (!srcBitmap || !dstBitmap || srcBitmap->image.type != ImageTypeBitmap ||
         x < 0 || y < 0 ||
@@ -681,7 +681,7 @@ GpStatus WINGDIPAPI GdipCloneBitmapArea(REAL x, REAL y, REAL width, REAL height,
 GpStatus WINGDIPAPI GdipCloneBitmapAreaI(INT x, INT y, INT width, INT height,
     PixelFormat format, GpBitmap* srcBitmap, GpBitmap** dstBitmap)
 {
-    TRACE("(%i,%i,%i,%i,%i,%p,%p)\n", x, y, width, height, format, srcBitmap, dstBitmap);
+    TRACE("(%i,%i,%i,%i,0x%x,%p,%p)\n", x, y, width, height, format, srcBitmap, dstBitmap);
 
     return GdipCloneBitmapArea(x, y, width, height, format, srcBitmap, dstBitmap);
 }
@@ -1211,7 +1211,7 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT width, INT height, INT stride,
     REAL xres, yres;
     GpStatus stat;
 
-    TRACE("%d %d %d %d %p %p\n", width, height, stride, format, scan0, bitmap);
+    TRACE("%d %d %d 0x%x %p %p\n", width, height, stride, format, scan0, bitmap);
 
     if (!bitmap) return InvalidParameter;
 




More information about the wine-cvs mailing list