diff --git a/rtengine/curves.cc b/rtengine/curves.cc index 02b509d58..d31b4ad06 100644 --- a/rtengine/curves.cc +++ b/rtengine/curves.cc @@ -340,7 +340,7 @@ void CurveFactory::curveBW ( LUTu & histogrambw, LUTu & outBeforeCCurveHistogrambw,//for Luminance ToneCurve & customToneCurvebw1, ToneCurve & customToneCurvebw2, int skip) { - const float gamma_ = Color::sRGBGamma; + const float gamma_ = Color::sRGBGammaCurve; const float start = expf(gamma_*logf( -0.055 / ((1.0/gamma_-1.0)*1.055 ))); const float slope = 1.055 * powf (start, 1.0/gamma_-1) - 0.055/start; const float mul = 1.055; @@ -634,7 +634,7 @@ void CurveFactory::curveToningLL ( bool & llctoningutili,const std::vector