Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index 23241c025546232194a549263aabffb0dbf45132..d9e51127a4df8b530f537e872f674e2c21b73124 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -277,9 +277,9 @@ void GrColorCubeEffect::GLSLProcessor::emitCode(EmitArgs& args) { |
// Apply the cube. |
fragBuilder->codeAppendf("%s = vec4(mix(", args.fOutputColor); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], cCoords1); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], cCoords1); |
fragBuilder->codeAppend(".bgr, "); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], cCoords2); |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], cCoords2); |
// Premultiply color by alpha. Note that the input alpha is not modified by this shader. |
fragBuilder->codeAppendf(".bgr, fract(%s.b)) * vec3(%s), %s.a);\n", |