Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index e305a73a35fd6d74e822490b9acfba5ce70edaea..6c141dcf80924ce4d2297947d33d9b8d1390ce29 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -1031,7 +1031,7 @@ void GrGLGradientEffect::emitColor(GrGLSLFPFragmentBuilder* fragBuilder, |
const char* gradientTValue, |
const char* outputColor, |
const char* inputColor, |
- const TextureSamplerArray& samplers) { |
+ const SamplerArray& texSamplers) { |
if (SkGradientShaderBase::kTwo_GpuColorType == ge.getColorType()){ |
fragBuilder->codeAppendf("\tvec4 colorTemp = mix(%s, %s, clamp(%s, 0.0, 1.0));\n", |
uniformHandler->getUniformVariable(fColorStartUni).c_str(), |
@@ -1079,7 +1079,7 @@ void GrGLGradientEffect::emitColor(GrGLSLFPFragmentBuilder* fragBuilder, |
uniformHandler->getUniformVariable(fFSYUni).c_str()); |
fragBuilder->codeAppendf("\t%s = ", outputColor); |
fragBuilder->appendTextureLookupAndModulate(inputColor, |
- samplers[0], |
+ texSamplers[0], |
"coord"); |
fragBuilder->codeAppend(";\n"); |
} |