Commit 822e4cba authored by Chris Wilson's avatar Chris Wilson Committed by Alexandre Julliard

winex11: Ignore source clipping in BitBlt.

parent b3e80afa
...@@ -1541,8 +1541,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT ...@@ -1541,8 +1541,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT
if (ySrc + height > srcDib.dsBm.bmHeight) if (ySrc + height > srcDib.dsBm.bmHeight)
height = srcDib.dsBm.bmHeight - ySrc; height = srcDib.dsBm.bmHeight - ySrc;
if (GetRgnBox(physDevSrc->region, &unusedRect) == COMPLEXREGION || if (GetRgnBox(physDevDst->region, &unusedRect) == COMPLEXREGION)
GetRgnBox(physDevDst->region, &unusedRect) == COMPLEXREGION)
{ {
/* for simple regions, the clipping was already done by BITBLT_GetVisRectangles */ /* for simple regions, the clipping was already done by BITBLT_GetVisRectangles */
FIXME("potential optimization: client-side complex region clipping\n"); FIXME("potential optimization: client-side complex region clipping\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment