Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 616aaafcac07ac1abd727b734a939e3217b7ba33..50e17d424672cd72895c8b29347b6e63616a0d9f 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -155,7 +155,7 @@ void GrGLMagnifierEffect::emitCode(EmitArgs& args) { |
fragBuilder->codeAppend("\t\tvec2 mix_coord = mix(coord, zoom_coord, weight);\n"); |
fragBuilder->codeAppend("\t\tvec4 output_color = "); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], "mix_coord"); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], "mix_coord"); |
fragBuilder->codeAppend(";\n"); |
fragBuilder->codeAppendf("\t\t%s = output_color;", args.fOutputColor); |