[Bug 4529] In Firefox 1.5, background images displayed wrong
http://bugs.winehq.org/show_bug.cgi?id=4529 ------- Additional Comments From mike(a)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.
participants (1)
-
Wine Bugs