diff options
Diffstat (limited to 'plugins/fast_float/src/fast_8_tethra.c')
-rw-r--r-- | plugins/fast_float/src/fast_8_tethra.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/fast_float/src/fast_8_tethra.c b/plugins/fast_float/src/fast_8_tethra.c index 7f72184..84c36a0 100644 --- a/plugins/fast_float/src/fast_8_tethra.c +++ b/plugins/fast_float/src/fast_8_tethra.c @@ -414,11 +414,7 @@ cmsBool Optimize8BitRGBTransform(_cmsTransform2Fn* TransformFn, // Check for validity lIsSuitable = TRUE; for (t=0; (lIsSuitable && (t < 3)); t++) { - - // Exclude if non-monotonic - if (!cmsIsToneCurveMonotonic(Trans[t])) - lIsSuitable = FALSE; - + if (IsDegenerated(Trans[t])) lIsSuitable = FALSE; } |