From 1e104efd216d890f1c205c94269204f30693ae6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Thu, 23 Mar 2023 13:59:49 +0100 Subject: [PATCH] LUT: make LUTs default to on The BABL_LUT environment variable still controls whether it is enabled, to turn off the LUT usage set BABL_LUT=0. --- babl/babl-fish-path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index addb2f1..c01cc2d 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -644,9 +644,9 @@ _babl_legal_error (void) env = getenv ("BABL_LUT"); if (env && env[0] != '\0') - enable_lut = 1; + enable_lut = atoi(getenv("BABL_LUT")); else - enable_lut = 0; + enable_lut = 1; return error; } -- 2.30.2