Work around a Photon bug when trying to Invert Text in the InvertRect

function by forcing a flush after the draw.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57960 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com
2000-01-16 01:55:27 +00:00
parent 6f36f12e2e
commit c948631123

View File

@@ -1084,6 +1084,9 @@ nsRenderingContextPh :: InvertRect(nscoord aX, nscoord aY, nscoord aWidth, nscoo
PgDrawIRect( x, y, x + w - 1, y + h - 1, Pg_DRAW_FILL );
PgSetDrawMode(Pg_DRAWMODE_OPAQUE);
/* To Fix a PHOTON BUG draw anything after changing back to OPAQUE */
mSurface->Flush(); //PgDrawIRect( x, y, x, y, Pg_DRAW_FILL );
PgFLUSH(); //kedl
return NS_OK;
}