Fixed BitBlt_PSDPxax
This commit is contained in:
parent
032bdef955
commit
e3f88ad7ec
@ -558,7 +558,7 @@ static BOOL BitBlt_PSDPxax(HGDI_DC hdcDest, UINT32 nXDest, UINT32 nYDest,
|
|||||||
UINT32 colorB = ReadColor(dstp, hdcDest->format);
|
UINT32 colorB = ReadColor(dstp, hdcDest->format);
|
||||||
colorA = ConvertColor(colorA, hdcSrc->format,
|
colorA = ConvertColor(colorA, hdcSrc->format,
|
||||||
hdcDest->format, palette);
|
hdcDest->format, palette);
|
||||||
color = (colorA ^ colorB) & (colorA ^ colorC);
|
color = (colorA ^ colorC) & (colorB ^ colorC);
|
||||||
WriteColor(dstp, hdcDest->format, color);
|
WriteColor(dstp, hdcDest->format, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -585,7 +585,7 @@ static BOOL BitBlt_PSDPxax(HGDI_DC hdcDest, UINT32 nXDest, UINT32 nYDest,
|
|||||||
UINT32 colorC = ReadColor(patp, hdcDest->format);
|
UINT32 colorC = ReadColor(patp, hdcDest->format);
|
||||||
colorA = ConvertColor(colorA, hdcSrc->format,
|
colorA = ConvertColor(colorA, hdcSrc->format,
|
||||||
hdcDest->format, palette);
|
hdcDest->format, palette);
|
||||||
color = (colorA ^ colorB) & (colorA ^ colorC);
|
color = (colorA ^ colorC) & (colorB ^ colorC);
|
||||||
WriteColor(dstp, hdcDest->format, color);
|
WriteColor(dstp, hdcDest->format, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user