Alexandre Julliard : winex11: ExtFloodFill does take the current ROP into account.

Alexandre Julliard julliard at winehq.org
Tue Apr 17 13:31:49 CDT 2012


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 17 16:40:47 2012 +0200

winex11: ExtFloodFill does take the current ROP into account.

---

 dlls/winex11.drv/graphics.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c
index 350a936..9959a29 100644
--- a/dlls/winex11.drv/graphics.c
+++ b/dlls/winex11.drv/graphics.c
@@ -1377,9 +1377,7 @@ BOOL X11DRV_ExtFloodFill( PHYSDEV dev, INT x, INT y, COLORREF color, UINT fillTy
     {
         unsigned long pixel = X11DRV_PALETTE_ToPhysical( physDev, color );
 
-          /* ROP mode is always GXcopy for flood-fill */
         wine_tsx11_lock();
-        XSetFunction( gdi_display, physDev->gc, GXcopy );
         X11DRV_InternalFloodFill(image, physDev,
                                  pt.x - rect.left,
                                  pt.y - rect.top,




More information about the wine-cvs mailing list