From: Øyvind Kolås Date: Thu, 23 Mar 2023 12:59:49 +0000 (+0100) Subject: LUT: make LUTs default to on X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1e104efd216d890f1c205c94269204f30693ae6b;p=babl.git 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. --- 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; }