mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones
This commit is contained in:
parent
bef0b990ad
commit
7f649f59e5
@ -2267,7 +2267,7 @@ nsWindow::UpdateAlpha(gfxPattern* aPattern, nsIntRect aBoundsRect)
|
|||||||
stride, FORMAT_A8);
|
stride, FORMAT_A8);
|
||||||
|
|
||||||
if (drawTarget) {
|
if (drawTarget) {
|
||||||
drawTarget->FillRect(ToRect(aBoundsRect),
|
drawTarget->FillRect(Rect(0, 0, aBoundsRect.width, aBoundsRect.height),
|
||||||
*aPattern->GetPattern(drawTarget),
|
*aPattern->GetPattern(drawTarget),
|
||||||
DrawOptions(1.0, OP_SOURCE));
|
DrawOptions(1.0, OP_SOURCE));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user