Index: src/effects/gradients/SkTwoPointRadialGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
index 989c1395563145122a0f13e88a5822011adcbd83..48a2596234e5c0d00ef2321d5720ed1b9e279d1d 100644 |
--- a/src/effects/gradients/SkTwoPointRadialGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
@@ -535,7 +535,7 @@ void GrGLRadial2Gradient::emitCode(GrGLShaderBuilder* builder, |
const char* inputColor, |
const TextureSamplerArray& samplers) { |
- this->emitYCoordUniform(builder); |
+ this->emitUniforms(builder, key); |
const char* fsCoords; |
const char* vsCoordsVarying; |
GrSLType coordsVaryingType; |
@@ -632,7 +632,7 @@ void GrGLRadial2Gradient::emitCode(GrGLShaderBuilder* builder, |
t.printf("-%s / %s", cName.c_str(), bVar.c_str()); |
} |
- this->emitColorLookup(builder, t.c_str(), outputColor, inputColor, samplers[0]); |
+ this->emitColor(builder, t.c_str(), key, outputColor, inputColor, samplers); |
} |
} |