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 a75dad7004
commit 2e5b8e553d

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