diff options
Diffstat (limited to 'src/effects/gradients/SkLinearGradient.cpp')
-rw-r--r-- | src/effects/gradients/SkLinearGradient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp index 872c6e81d1..98b621ec8e 100644 --- a/src/effects/gradients/SkLinearGradient.cpp +++ b/src/effects/gradients/SkLinearGradient.cpp @@ -437,7 +437,7 @@ sk_sp<GrFragmentProcessor> GrLinearGradient::TestCreate(GrProcessorTestData* d) void GrLinearGradient::GLSLLinearProcessor::emitCode(EmitArgs& args) { const GrLinearGradient& ge = args.fFp.cast<GrLinearGradient>(); this->emitUniforms(args.fUniformHandler, ge); - SkString t = args.fFragBuilder->ensureFSCoords2D(args.fCoords, 0); + SkString t = args.fFragBuilder->ensureCoords2D(args.fTransformedCoords[0]); t.append(".x"); this->emitColor(args.fFragBuilder, args.fUniformHandler, |