Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 10b71f86c61bbe8d6b5bf2bb3f397e207a9cbdef..0994097e6a23a257b109d689ffaedb9d343949a8 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -437,22 +437,22 @@ void GLColorTableEffect::emitCode(EmitArgs& args) { |
fragBuilder->codeAppendf("\t\t%s.a = ", args.fOutputColor); |
coord.printf("vec2(coord.a, %s.a)", yoffsets); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], coord.c_str()); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str()); |
fragBuilder->codeAppend(".a;\n"); |
fragBuilder->codeAppendf("\t\t%s.r = ", args.fOutputColor); |
coord.printf("vec2(coord.r, %s.r)", yoffsets); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], coord.c_str()); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str()); |
fragBuilder->codeAppend(".a;\n"); |
fragBuilder->codeAppendf("\t\t%s.g = ", args.fOutputColor); |
coord.printf("vec2(coord.g, %s.g)", yoffsets); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], coord.c_str()); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str()); |
fragBuilder->codeAppend(".a;\n"); |
fragBuilder->codeAppendf("\t\t%s.b = ", args.fOutputColor); |
coord.printf("vec2(coord.b, %s.b)", yoffsets); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], coord.c_str()); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str()); |
fragBuilder->codeAppend(".a;\n"); |
fragBuilder->codeAppendf("\t\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); |