Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index cdc236b63a09d306075dd3a9585b38b9b38ef0b9..ebce1b3c5d0144b3bd782062b86eaeb9de475643 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -218,7 +218,7 @@ void GrGLMorphologyEffect::emitCode(EmitArgs& args) { |
const char* range = uniformHandler->getUniformCStr(fRangeUni); |
GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
- SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); |
+ SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); |
const char* func; |
switch (me.type()) { |
case GrMorphologyEffect::kErode_MorphologyType: |