Commit 0e6408c4 authored by Kevin Koltzau's avatar Kevin Koltzau Committed by Alexandre Julliard

Change AlphaBlend to use destination dimensions rather then source.

parent 399842b1
...@@ -1651,7 +1651,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst, ...@@ -1651,7 +1651,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
#endif #endif
pXRenderComposite(gdi_display, PictOpOver, src_pict, 0, dst_pict, pXRenderComposite(gdi_display, PictOpOver, src_pict, 0, dst_pict,
xSrc, ySrc, 0, 0, xSrc, ySrc, 0, 0,
xDst + devDst->org.x, yDst + devDst->org.y, widthSrc, heightSrc); xDst + devDst->org.x, yDst + devDst->org.y, widthDst, heightDst);
pXRenderFreePicture(gdi_display, src_pict); pXRenderFreePicture(gdi_display, src_pict);
......
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