Alexandre Julliard : x11drv: Always set GC function to GXcopy for the BitBlt DIB optimization.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 25 06:22:45 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 0e08584462afd57c95af2cd4a5afa5a824975a66
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0e08584462afd57c95af2cd4a5afa5a824975a66

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 25 13:18:27 2006 +0100

x11drv: Always set GC function to GXcopy for the BitBlt DIB optimization.

---

 dlls/x11drv/bitblt.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/x11drv/bitblt.c b/dlls/x11drv/bitblt.c
index 23de307..47b7a1a 100644
--- a/dlls/x11drv/bitblt.c
+++ b/dlls/x11drv/bitblt.c
@@ -1591,6 +1591,10 @@ BOOL X11DRV_BitBlt( X11DRV_PDEVICE *phys
       }
       X11DRV_CoerceDIBSection( physDevDst, DIB_Status_GdiMod, FALSE );
 
+      wine_tsx11_lock();
+      XSetFunction( gdi_display, physDevDst->gc, GXcopy );
+      wine_tsx11_unlock();
+
       X11DRV_DIB_CopyDIBSection( physDevSrc, physDevDst, xSrc, ySrc, xDst, yDst, width, height );
       result = TRUE;
       goto END;




More information about the wine-cvs mailing list