Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 59be8fb86ee42dad5cadcb0f4181a532582104b6..eee9ce2d0cfe5f597b677358f085bbedac1031c3 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -135,7 +135,7 @@ void GrGLMagnifierEffect::emitCode(EmitArgs& args) { |
"Bounds"); |
GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
- SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); |
+ SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); |
fragBuilder->codeAppendf("\t\tvec2 coord = %s;\n", coords2D.c_str()); |
fragBuilder->codeAppendf("\t\tvec2 zoom_coord = %s + %s * %s;\n", |
uniformHandler->getUniformCStr(fOffsetVar), |