Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 2b35036bc55ae7e2c33412218868ff4bbaef738b..c50b1f2c18344e08af66979a242346f2eff399f8 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -428,8 +428,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
desc.fHeight = bounds.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; |