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