Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index 5e5aca96af133fde57e62c5628eaf836eb5c6992..0c82b1655e7755584050ae489e325e9f1a6aaf08 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -1803,7 +1803,7 @@ void GrGLLightingEffect::emitCode(EmitArgs& args) { |
GrGLSLShaderVar("scale", kFloat_GrSLType), |
}; |
SkString sobelFuncName; |
- SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); |
+ SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); |
fragBuilder->emitFunction(kFloat_GrSLType, |
"sobel", |