r=pedemont, sr=blizzard
OS/2 only - use FM_INVERT for drawing inverted rect


git-svn-id: svn://10.0.0.236/trunk@112777 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2002-01-25 00:02:40 +00:00
parent 3c8fe72f77
commit 032c515eb5

View File

@@ -1107,7 +1107,7 @@ nsRenderingContextOS2 :: InvertRect(nscoord aX, nscoord aY, nscoord aWidth, nsco
{
nsRect tr(aX, aY, aWidth, aHeight);
LONG CurMix = GFX (::GpiQueryMix (mPS), FM_ERROR);
GFX (::GpiSetMix (mPS, FM_XOR), FALSE);
GFX (::GpiSetMix (mPS, FM_INVERT), FALSE);
PMDrawRect(tr, FALSE);
GFX (::GpiSetMix (mPS, CurMix), FALSE);
return NS_OK;