Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index 6a85e4780eb82b937d161cabbc3410f7e83ab0a0..7a1692b32532517cb77cbbfa306288149a99dbd4 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -48,11 +48,10 @@ public: |
fsCoordSLType = fEffectMatrix.get()->emitCode(builder, key, &fsCoordName); |
} |
builder->fsCodeAppendf("\t%s = ", outputColor); |
- builder->appendTextureLookupAndModulate(GrGLShaderBuilder::kFragment_ShaderType, |
- inputColor, |
- samplers[0], |
- fsCoordName.c_str(), |
- fsCoordSLType); |
+ builder->fsAppendTextureLookupAndModulate(inputColor, |
+ samplers[0], |
+ fsCoordName.c_str(), |
+ fsCoordSLType); |
builder->fsCodeAppend(";\n"); |
} |