mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
we now set the correct stretchblt mode. as a result scaled images look a lot sweeter.
This commit is contained in:
parent
5bc8fb4ae0
commit
6256b1dccd
@ -289,6 +289,7 @@ nsresult nsRenderingContextWin :: SetupDC(HDC aOldDC, HDC aNewDC)
|
||||
::SetTextColor(aNewDC, RGB(0, 0, 0));
|
||||
::SetBkMode(aNewDC, TRANSPARENT);
|
||||
::SetPolyFillMode(aNewDC, WINDING);
|
||||
::SetStretchBltMode(aNewDC, COLORONCOLOR);
|
||||
|
||||
if (nsnull != aOldDC)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user