]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 28 Mar 2011 14:13:10 +0000 (14:13 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 28 Mar 2011 14:13:10 +0000 (14:13 +0000)
magick/pixel.c

index 9d1441d0be843399a422fdbb3e1b7403782e46fe..b952c12d4feda7701e95b46278adf53b7e30b552 100644 (file)
@@ -3425,7 +3425,6 @@ static inline void AlphaBlendMagickPixelPacket(const Image *image,
       pixel->green=(MagickRealType) color->green;
       pixel->blue=(MagickRealType) color->blue;
       pixel->opacity=(MagickRealType) color->opacity;
-      pixel->index=0;
       if (((image->colorspace == CMYKColorspace) ||
            (image->storage_class == PseudoClass)) &&
           (index != (const IndexPacket *) NULL))
@@ -3437,7 +3436,6 @@ static inline void AlphaBlendMagickPixelPacket(const Image *image,
   pixel->green=(MagickRealType) (*alpha*color->green);
   pixel->blue=(MagickRealType) (*alpha*color->blue);
   pixel->opacity=(MagickRealType) (*alpha*color->opacity);
-  pixel->index=0;
   if (((image->colorspace == CMYKColorspace) ||
        (image->storage_class == PseudoClass)) &&
       (index != (const IndexPacket *) NULL))