Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index ac7488be6b7e9acb5f1f90f7e049ce45792f97d1..6c2ec72c226fc50f3f20b016c130f9b5ff1e8d15 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -383,8 +383,7 @@ bool SkLightingImageFilterInternal::filterImageGPU(Proxy* proxy, |
desc.fHeight = bounds.height(); |
desc.fConfig = kRGBA_8888_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; |
} |