Index: src/gpu/effects/GrConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp |
index 2266c47eeb60355d73c18205b8375cbd8f6f847e..59f7ab19e36c56b76106be9b19b225c68fc54653 100644 |
--- a/src/gpu/effects/GrConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrConvolutionEffect.cpp |
@@ -54,7 +54,7 @@ void GrGLConvolutionEffect::emitCode(EmitArgs& args) { |
"Kernel", arrayCount); |
GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
- SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); |
+ SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); |
fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); |