add RT_sRGB with 2 Lut 212 1024

This commit is contained in:
Desmis
2018-04-03 12:55:34 +02:00
parent 06fa05799a
commit 6a00ce0f82
4 changed files with 18 additions and 2 deletions

View File

@@ -190,7 +190,6 @@ void Color::init ()
{
gammatab_srgb[i] = gammatab_srgb1[i] = gamma2(i / 65535.0);
}
gammatab_srgb *= 65535.f;
gamma2curve.share(gammatab_srgb, LUT_CLIP_BELOW | LUT_CLIP_ABOVE); // shares the buffer with gammatab_srgb but has different clip flags
}