gdiplus: Remove debug traces from GdipBitmapGetPixel and GdipBitmapSetPixel.

Dmitry Timoshkov dmitry at baikal.ru
Fri Feb 22 05:18:23 CST 2013


alpha_blend_bmp_pixels() calls them while copying bitmap bits with an
alpha channel. This makes debug logs huge, hard to analyze, and completely
unmanagable in size.
---
 dlls/gdiplus/image.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 59ea41c..ff27334 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -297,7 +297,6 @@ GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap* bitmap, INT x, INT y,
     BYTE r, g, b, a;
     BYTE index;
     BYTE *row;
-    TRACE("%p %d %d %p\n", bitmap, x, y, color);
 
     if(!bitmap || !color ||
        x < 0 || y < 0 || x >= bitmap->width || y >= bitmap->height)
@@ -503,7 +502,6 @@ GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap* bitmap, INT x, INT y,
 {
     BYTE a, r, g, b;
     BYTE *row;
-    TRACE("bitmap:%p, x:%d, y:%d, color:%08x\n", bitmap, x, y, color);
 
     if(!bitmap || x < 0 || y < 0 || x >= bitmap->width || y >= bitmap->height)
         return InvalidParameter;
-- 
1.8.1.3




More information about the wine-patches mailing list