Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas

This commit is contained in:
Matt Woodrow 2013-12-12 10:05:26 +13:00
parent 9de3115a9b
commit 9cd39ec436

View File

@ -180,7 +180,7 @@ gfxPattern::GetPattern(DrawTarget *aTarget, Matrix *aPatternTransform)
if (!mPattern) {
mGfxPattern = new (mSurfacePattern.addr())
SurfacePattern(mSourceSurface, ToExtendMode(mExtend), mTransform);
SurfacePattern(mSourceSurface, ToExtendMode(mExtend), mTransform, mFilter);
return mGfxPattern;
}