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