mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1066465: Fixup DrawTargetD2D1::DrawFilter to respect the AA mode and Finalize properly. r=jrmuizel
This commit is contained in:
parent
551b9e6641
commit
68f2fad908
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user