Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index db0a59a1b964cd7e22672f043760d7f637e8fafc..aee15ef753b0c9166f4b2224d6c31fff4a011491 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -551,7 +551,7 @@ void GrGLDisplacementMapEffect::emitCode(EmitArgs& args) { |
GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
fragBuilder->codeAppendf("\t\tvec4 %s = ", dColor); |
- fragBuilder->appendTextureLookup(args.fSamplers[0], args.fCoords[0].c_str(), |
+ fragBuilder->appendTextureLookup(args.fTexSamplers[0], args.fCoords[0].c_str(), |
args.fCoords[0].getType()); |
fragBuilder->codeAppend(";\n"); |
@@ -606,7 +606,7 @@ void GrGLDisplacementMapEffect::emitCode(EmitArgs& args) { |
domain, |
args.fOutputColor, |
SkString(cCoords), |
- args.fSamplers[1]); |
+ args.fTexSamplers[1]); |
fragBuilder->codeAppend(";\n"); |
} |