projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73ce33
)
LUT: make LUTs default to on
author
Øyvind Kolås
<pippin@gimp.org>
Thu, 23 Mar 2023 12:59:49 +0000
(13:59 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 23 Mar 2023 12:59:49 +0000
(13:59 +0100)
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
patch
|
blob
|
history
diff --git
a/babl/babl-fish-path.c
b/babl/babl-fish-path.c
index addb2f138f74f05e3c703b929e21519231b17ab5..c01cc2d7c0cca6c51abaf4d1230db1b48fb0d356 100644
(file)
--- 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;
}