Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index 6cedf840ed2927bb7c892aa6d0ca5d36f55563f5..28d9a00c845a405f614cec5fab34e0b4e2287e6b 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -155,7 +155,8 @@ bool SkXfermodeImageFilter::filterImageGPU(Proxy* proxy, |
desc.fWidth = src.width(); |
desc.fHeight = src.height(); |
desc.fConfig = kSkia8888_GrPixelConfig; |
- SkAutoTUnref<GrTexture> dst(context->textureProvider()->createApproxTexture(desc)); |
+ auto constraint = GrTextureProvider::FromImageFilter(ctx.sizeConstraint()); |
+ SkAutoTUnref<GrTexture> dst(context->textureProvider()->createTexture(desc, constraint)); |
if (!dst) { |
return false; |
} |