Bug 1066465: Fixup DrawTargetD2D1::DrawFilter to respect the AA mode and Finalize properly. r=jrmuizel

This commit is contained in:
Bas Schouten 2014-09-14 23:52:47 +02:00
parent 551b9e6641
commit 68f2fad908

View File

@ -153,7 +153,11 @@ DrawTargetD2D1::DrawFilter(FilterNode *aNode,
PrepareForDrawing(aOptions.mCompositionOp, ColorPattern(Color()));
mDC->SetAntialiasMode(D2DAAMode(aOptions.mAntialiasMode));
mDC->DrawImage(static_cast<FilterNodeD2D1*>(aNode)->OutputEffect(), D2DPoint(aDestPoint), D2DRect(aSourceRect));
FinalizeDrawing(aOptions.mCompositionOp, ColorPattern(Color()));
}
void