diff options
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkHighContrastFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkHighContrastFilter.cpp b/src/effects/SkHighContrastFilter.cpp index 607033ef20..be6180a531 100644 --- a/src/effects/SkHighContrastFilter.cpp +++ b/src/effects/SkHighContrastFilter.cpp @@ -364,7 +364,7 @@ void GLHighContrastFilterEffect::emitCode(EmitArgs& args) { std::unique_ptr<GrFragmentProcessor> SkHighContrast_Filter::asFragmentProcessor( GrContext*, const GrColorSpaceInfo& csi) const { - bool linearize = !csi.isGammaCorrect(); + bool linearize = !csi.isLinearlyBlended(); return HighContrastFilterEffect::Make(fConfig, linearize); } #endif |