diff options
author | Marti Maria <marti.maria@littlecms.com> | 2021-06-05 17:05:49 +0300 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2021-06-05 17:05:49 +0300 |
commit | 08768f06683a843d79fa4f9a0ba3784bd0059876 (patch) | |
tree | 332289c3e3724e49eee0a76be0c0f011ec07a91e /plugins/fast_float/src/fast_float_lab.c | |
parent | 807809d7dd9b09c0380b71d5d5ebee3c1439ca99 (diff) |
fix alpha handling on fast float
Fix broken alpha handling on some interpolation in fast float plugin
Thanks to Lynx3d for spotting that.
Diffstat (limited to 'plugins/fast_float/src/fast_float_lab.c')
-rw-r--r-- | plugins/fast_float/src/fast_float_lab.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/fast_float/src/fast_float_lab.c b/plugins/fast_float/src/fast_float_lab.c index 553d5fe..d392a84 100644 --- a/plugins/fast_float/src/fast_float_lab.c +++ b/plugins/fast_float/src/fast_float_lab.c @@ -316,7 +316,10 @@ void LabCLUTEval(struct _cmstransform_struct* CMMcargo, } if (xin) - *out[TotalOut] = *xin; + { + *(cmsFloat32Number*) (out[TotalOut]) = *xin; + out[TotalOut] += DestIncrements[TotalOut]; + } } strideIn += Stride->BytesPerLineIn; |