[Bug 4529] In Firefox 1.5, background images displayed wrong

Wine Bugs wine-bugs at winehq.org
Tue Feb 28 00:44:34 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4529





------- Additional Comments From mike at codeweavers.com  2006-28-02 00:44 -------

Looks like the mask is inverted.  If I hack BitBlt to change the mode for the
mask from SRCAND to SRCINVERT, it displays correctly.

diff --git a/dlls/gdi/bitblt.c b/dlls/gdi/bitblt.c
index 221fc6d..722770d 100644
--- a/dlls/gdi/bitblt.c
+++ b/dlls/gdi/bitblt.c
@@ -55,6 +55,12 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst
     BOOL ret = FALSE;
     DC *dcDst, *dcSrc;
 
+    if (width == 75 && height == 75 && rop == SRCAND)
+    {
+        ERR("%08lx SRCAND -> SRCINVERT\n", rop);
+        rop = SRCINVERT;
+    }
+
     if ((dcDst = DC_GetDCUpdate( hdcDst )) && dcDst->funcs->pBitBlt)
     {
         GDI_ReleaseObj( hdcDst );

Off to figure out why it's inverted...


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list