mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 765107 - Fix transformed filter drawing with Azure; r=bas
--HG-- extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
This commit is contained in:
parent
a413daa790
commit
f909c43c9b
@ -1499,7 +1499,7 @@ nsSVGUtils::CompositeSurfaceMatrix(gfxContext *aContext,
|
||||
Matrix oldMat = dt->GetTransform();
|
||||
RefPtr<SourceSurface> surf =
|
||||
gfxPlatform::GetPlatform()->GetSourceSurfaceForSurface(dt, aSurface);
|
||||
dt->SetTransform(oldMat * ToMatrix(aCTM));
|
||||
dt->SetTransform(ToMatrix(aCTM) * oldMat);
|
||||
|
||||
gfxSize size = aSurface->GetSize();
|
||||
NS_ASSERTION(size.width >= 0 && size.height >= 0, "Failure to get size for aSurface.");
|
||||
|
Loading…
Reference in New Issue
Block a user