mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 20:59:04 +00:00
gdi32: Take into account the mask's offset.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2ee784e624
commit
3d58c354ae
|
@ -800,6 +800,7 @@ BOOL WINAPI MaskBlt(HDC hdcDest, INT nXDest, INT nYDest,
|
||||||
|
|
||||||
/* combine both using the mask as a pattern brush */
|
/* combine both using the mask as a pattern brush */
|
||||||
SelectObject(hDC2, hbrMask);
|
SelectObject(hDC2, hbrMask);
|
||||||
|
SetBrushOrgEx(hDC2, -xMask, -yMask, NULL);
|
||||||
BitBlt(hDC2, 0, 0, nWidth, nHeight, hDC1, 0, 0, 0xac0744 ); /* (D & P) | (S & ~P) */
|
BitBlt(hDC2, 0, 0, nWidth, nHeight, hDC1, 0, 0, 0xac0744 ); /* (D & P) | (S & ~P) */
|
||||||
SelectObject(hDC2, hbrTmp);
|
SelectObject(hDC2, hbrTmp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue