Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 899254fda2ea6fba371a30e4be49f132b297fe0c..6f23dae8c2926ef47fdb7f1fed665821014cc5d2 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -562,7 +562,7 @@ void GrGLDisplacementMapEffect::emitCode(GrGLProgramBuilder* builder, |
GrGLFragmentShaderBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |
fsBuilder->codeAppendf("\t\tvec4 %s = ", dColor); |
- fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].type()); |
+ fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].getType()); |
fsBuilder->codeAppend(";\n"); |
// Unpremultiply the displacement |
@@ -615,7 +615,7 @@ void GrGLDisplacementMapEffect::emitCode(GrGLProgramBuilder* builder, |
"bool %s = (%s.x < 0.0) || (%s.y < 0.0) || (%s.x > 1.0) || (%s.y > 1.0);\t\t", |
outOfBounds, cCoords, cCoords, cCoords, cCoords); |
fsBuilder->codeAppendf("%s = %s ? vec4(0.0) : ", outputColor, outOfBounds); |
- fsBuilder->appendTextureLookup(samplers[1], cCoords, coords[1].type()); |
+ fsBuilder->appendTextureLookup(samplers[1], cCoords, coords[1].getType()); |
fsBuilder->codeAppend(";\n"); |
} |