From 56804fca6935d6ae0a07b6f9d5ecb805a0c7f7ce Mon Sep 17 00:00:00 2001 From: heckflosse Date: Sat, 14 May 2016 13:17:17 +0200 Subject: [PATCH] use LUTf.makeIdentity() --- rtengine/ipvibrance.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rtengine/ipvibrance.cc b/rtengine/ipvibrance.cc index 3e6ff97f2..1d152c737 100644 --- a/rtengine/ipvibrance.cc +++ b/rtengine/ipvibrance.cc @@ -59,9 +59,7 @@ void fillCurveArrayVib(DiagonalCurve* diagCurve, LUTf &outCurve) outCurve[i] = 65535.f * diagCurve->getVal( double(i) / 65535.0 ); } } else { - for (int i = 0; i <= 0xffff; i++) { - outCurve[i] = float(i); - } + outCurve.makeIdentity(); } }