Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis

This commit is contained in:
Matt Woodrow
2014-05-28 13:21:32 +12:00
parent 96c3bb3303
commit 6da3d01d18
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ FillRectWithMask(DrawTarget* aDT,
Matrix transform = oldTransform * inverseMask;
if (aSurfaceTransform) {
transform = transform * (*aSurfaceTransform);
transform = (*aSurfaceTransform) * transform;
}
SurfacePattern source(aSurface, aExtendMode, transform, aFilter);