| Index: src/effects/SkLightingImageFilter.cpp
|
| diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp
|
| index 138ba8bdc430dfb0649988e847e9148520855bfe..66d3a17883f6b12c13c81677ea43d996c0511f58 100644
|
| --- a/src/effects/SkLightingImageFilter.cpp
|
| +++ b/src/effects/SkLightingImageFilter.cpp
|
| @@ -392,7 +392,7 @@ void SkLightingImageFilterInternal::drawRect(GrDrawContext* drawContext,
|
| const SkIRect& bounds) const {
|
| SkRect srcRect = dstRect.makeOffset(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y()));
|
| GrPaint paint;
|
| - paint.setAllowSRGBInputs(drawContext->isGammaCorrect());
|
| + paint.setGammaCorrect(drawContext->isGammaCorrect());
|
| sk_sp<GrFragmentProcessor> fp(this->makeFragmentProcessor(src, matrix, srcBounds,
|
| boundaryMode));
|
| paint.addColorFragmentProcessor(std::move(fp));
|
|
|