Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index cd8b741d3d53162c7091d5398805170398b19608..77d6cb84aa69e2934d0b2c03e2aa7eac29b57aa3 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -608,7 +608,11 @@ void GrGLDisplacementMapEffect::emitCode(EmitArgs& args) { |
} |
fragBuilder->codeAppend("-vec2(0.5));\t\t"); |
- fGLDomain.sampleTexture(fragBuilder, domain, args.fOutputColor, SkString(cCoords), |
+ fGLDomain.sampleTexture(fragBuilder, |
+ args.fGLSLCaps, |
+ domain, |
+ args.fOutputColor, |
+ SkString(cCoords), |
args.fSamplers[1]); |
fragBuilder->codeAppend(";\n"); |
} |