Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 9ec6f2c28f6e1272dcb43ca24903079a3183923b..be48ca17ba101b231b7708af7ef7804bcef583f5 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -292,6 +292,7 @@ sk_sp<SkSpecialImage> SkImageFilter::DrawWithFP(GrContext* context, |
if (!drawContext) { |
return nullptr; |
} |
+ paint.setGammaCorrect(drawContext->isGammaCorrect()); |
SkIRect dstIRect = SkIRect::MakeWH(bounds.width(), bounds.height()); |
SkRect srcRect = SkRect::Make(bounds); |