Commit 7f0b28a7 authored by Kevin Koltzau's avatar Kevin Koltzau Committed by Alexandre Julliard

Fix incorrect coordinates for painting mask.

parent ee2608d5
......@@ -366,7 +366,7 @@ BOOL WINAPI GdiTransparentBlt( HDC hdcDest, int xDest, int yDest, int widthDest,
}
/* Replace non-transparent area on destination with black */
if(!BitBlt(hdcDest, 0, 0, widthDest, heightDest, hdcMask, 0, 0, SRCAND)) {
if(!BitBlt(hdcDest, xDest, yDest, widthDest, heightDest, hdcMask, 0, 0, SRCAND)) {
TRACE("Failed to clear destination area\n");
goto error;
}
......
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