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

This commit is contained in:
Alexandre Julliard 2006-01-25 13:18:27 +01:00
parent ff6b466563
commit 0e08584462
1 changed files with 4 additions and 0 deletions

View File

@ -1591,6 +1591,10 @@ BOOL X11DRV_BitBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT yDst,
}
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;