[babl] babl: use floating point version of srgb trc func
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: use floating point version of srgb trc func
- Date: Thu, 31 Aug 2017 15:27:36 +0000 (UTC)
commit 3961a53094bdaddee896f042462ed45fdcd9a525
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Aug 31 17:27:20 2017 +0200
babl: use floating point version of srgb trc func
babl/babl-trc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-trc.c b/babl/babl-trc.c
index 29c56db..9275cb6 100644
--- a/babl/babl-trc.c
+++ b/babl/babl-trc.c
@@ -470,7 +470,7 @@ static inline float _babl_trc_gamma_2_2_from_linear (const Babl *trc_, float x)
static inline float _babl_trc_srgb_to_linear (const Babl *trc_, float value)
{
- return babl_gamma_2_2_to_linear (value);
+ return babl_gamma_2_2_to_linearf (value);
}
static inline float _babl_trc_srgb_from_linear (const Babl *trc_, float value)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]