diff options
-rw-r--r-- | third_party/lcms2-2.6/src/cmsxform.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/lcms2-2.6/src/cmsxform.c b/third_party/lcms2-2.6/src/cmsxform.c index 6466d27c3e..dffe6b2fb7 100644 --- a/third_party/lcms2-2.6/src/cmsxform.c +++ b/third_party/lcms2-2.6/src/cmsxform.c @@ -694,13 +694,15 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, if (*dwFlags & cmsFLAGS_NOCACHE) { if (*dwFlags & cmsFLAGS_GAMUTCHECK) - p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? else + p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? + else p ->xform = PrecalculatedXFORM; // No cach? no gamut check } else { if (*dwFlags & cmsFLAGS_GAMUTCHECK) - p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? else + p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? + else p ->xform = CachedXFORM; // No gamut check, cach? } } |