diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-03-23 14:18:42 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-03-23 14:18:42 +0300 |
commit | 3c21885ec4ee2c06e24f43a87ed11a36b0fb7fe7 (patch) | |
tree | d0d39d5466c060a4cd72d1ebd4961bedacc1f9ae /source/blender/imbuf/intern | |
parent | 0884c174b3b43cb53b47269cc204f08c0dc68f6a (diff) |
Change coefficients to 4 digit precision only.
Need to match convention and sum up to 1.0 (previous set had a minor
10^(-10) overflow) Thanks to Campbell for taking notice.
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/colormanagement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c index a1b7a14c9fe..20baa1614c9 100644 --- a/source/blender/imbuf/intern/colormanagement.c +++ b/source/blender/imbuf/intern/colormanagement.c @@ -93,7 +93,7 @@ static int global_tot_looks = 0; /* Set to ITU-BT.709 / sRGB primaries weight. Brute force stupid, but only * option with no colormanagement in place. */ -static float luma_coefficients[3] = { 0.2126729f, 0.7151522f, 0.0721750f }; +static float luma_coefficients[3] = { 0.2126f, 0.7152f, 0.0722f }; /* lock used by pre-cached processors getters, so processor wouldn't * be created several times |