]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 19 May 2018 19:01:20 +0000 (15:01 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 19 May 2018 19:01:20 +0000 (15:01 -0400)
MagickCore/cache.c

index 7563177ea99e03c13af76898e06fbd1b7be314a1..50d877e98ec0edddb75435bb8a708c1e1fcac762 100644 (file)
@@ -2767,7 +2767,6 @@ MagickPrivate const Quantum *GetVirtualPixelsFromNexus(const Image *image,
   region.width=columns;
   region.height=rows;
   pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,&region,
-    ((image->channels & ReadMaskChannel) != 0) ||
     ((image->channels & WriteMaskChannel) != 0) ||
     ((image->channels & CompositeMaskChannel) != 0) ?  MagickTrue : MagickFalse,
     nexus_info,exception);
@@ -4173,7 +4172,6 @@ MagickPrivate Quantum *QueueAuthenticPixelCacheNexus(Image *image,
   region.width=columns;
   region.height=rows;
   pixels=SetPixelCacheNexusPixels(cache_info,WriteMode,&region,
-    ((image->channels & ReadMaskChannel) != 0) ||
     ((image->channels & WriteMaskChannel) != 0) ||
     ((image->channels & CompositeMaskChannel) != 0) ?  MagickTrue : MagickFalse,
     nexus_info,exception);