mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
Alexandre Julliard : Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn.
svn path=/trunk/; revision=55534
This commit is contained in:
parent
e1f18f1b3b
commit
338cb3493d
|
@ -1222,6 +1222,7 @@ UserDrawIconEx(
|
|||
|
||||
if (diFlags & DI_MASK)
|
||||
{
|
||||
DWORD rop = (diFlags & DI_IMAGE) ? SRCAND : SRCCOPY;
|
||||
hTmpBmp = NtGdiSelectBitmap(hMemDC, hbmMask);
|
||||
NtGdiStretchBlt(hDestDC,
|
||||
x,
|
||||
|
@ -1233,7 +1234,7 @@ UserDrawIconEx(
|
|||
0,
|
||||
pIcon->Size.cx,
|
||||
pIcon->Size.cy,
|
||||
SRCAND,
|
||||
rop,
|
||||
0);
|
||||
NtGdiSelectBitmap(hMemDC, hTmpBmp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue