summaryrefslogtreecommitdiff
path: root/plugins/fast_float/src/fast_8_tethra.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fast_float/src/fast_8_tethra.c')
-rw-r--r--plugins/fast_float/src/fast_8_tethra.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/fast_float/src/fast_8_tethra.c b/plugins/fast_float/src/fast_8_tethra.c
index 26a5a5d..9a724a6 100644
--- a/plugins/fast_float/src/fast_8_tethra.c
+++ b/plugins/fast_float/src/fast_8_tethra.c
@@ -346,7 +346,6 @@ cmsBool Optimize8BitRGBTransform(_cmsTransform2Fn* TransformFn,
cmsPipeline* OptimizedLUT = NULL, *LutPlusCurves = NULL;
cmsStage* OptimizedCLUTmpe;
cmsStage* OptimizedPrelinMpe;
- cmsStage* mpe;
Performance8Data* p8;
cmsUInt16Number* MyTable[3];
cmsContext ContextID;
@@ -365,14 +364,7 @@ cmsBool Optimize8BitRGBTransform(_cmsTransform2Fn* TransformFn,
if (T_COLORSPACE(*InputFormat) != PT_RGB) return FALSE;
OriginalLut = *Lut;
-
- // Named color pipelines cannot be optimized either
- for (mpe = cmsPipelineGetPtrToFirstStage(OriginalLut);
- mpe != NULL;
- mpe = cmsStageNext(mpe)) {
- if (cmsStageType(mpe) == cmsSigNamedColorElemType) return FALSE;
- }
-
+
ContextID = cmsGetPipelineContextID(OriginalLut);
nGridPoints = _cmsReasonableGridpointsByColorspace(cmsSigRgbData, *dwFlags);