Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index d6e7dfaa31aa3f10dc3296641ba4fa8dab16daae..d0ca20576b381301dc47b06075927d55fe6a7fa0 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -239,7 +239,7 @@ void GrGLMorphologyEffect::emitCode(EmitArgs& args) { |
} |
fragBuilder->codeAppendf("\t\tfor (int i = 0; i < %d; i++) {\n", width); |
fragBuilder->codeAppendf("\t\t\t%s = %s(%s, ", args.fOutputColor, func, args.fOutputColor); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], "coord"); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], "coord"); |
fragBuilder->codeAppend(");\n"); |
// coord.x += pixelSize; |
fragBuilder->codeAppendf("\t\t\tcoord.%s += %s;\n", dir, pixelSizeInc); |