James Hawkins : winex11: Reduce console spam for AlphaBlend deficiencies.

Alexandre Julliard julliard at winehq.org
Tue Aug 5 07:26:13 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Aug  4 11:52:54 2008 -0500

winex11: Reduce console spam for AlphaBlend deficiencies.

---

 dlls/winex11.drv/xrender.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index c7dac70..08bb71f 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -1569,7 +1569,12 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
 
     if (!devSrc->bitmap || GetObjectW( devSrc->bitmap->hbitmap, sizeof(dib), &dib ) != sizeof(dib))
     {
-        FIXME("not a dibsection\n");
+        static BOOL out = FALSE;
+        if (!out)
+        {
+            FIXME("not a dibsection\n");
+            out = TRUE;
+        }
         return FALSE;
     }
 




More information about the wine-cvs mailing list