mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 567169: Followup changeset 4a3e8596e8fc - addresses review comments I neglected to process when pushing the patch. a=blocking-betaN
This commit is contained in:
parent
f78a041233
commit
e02e026ac3
@ -3520,7 +3520,7 @@ nsCanvasRenderingContext2D::DrawImage(nsIDOMElement *imgElt, float a1,
|
||||
DirtyAllStyles();
|
||||
|
||||
/* Direct2D isn't very good at clipping so use Fill() when we can */
|
||||
if (CurrentState().globalAlpha = 1. && mThebes->CurrentOperator() == gfxContext::OPERATOR_OVER) {
|
||||
if (CurrentState().globalAlpha == 1.0f && mThebes->CurrentOperator() == gfxContext::OPERATOR_OVER) {
|
||||
mThebes->Rectangle(clip);
|
||||
mThebes->Fill();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user