From d045e96d0dd7627785055e847702e4f896bfa2c3 Mon Sep 17 00:00:00 2001 From: dirk Date: Tue, 27 May 2014 11:03:31 +0000 Subject: [PATCH] Build fix. --- MagickCore/pixel-accessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h index b18d24171..27e9f3c97 100644 --- a/MagickCore/pixel-accessor.h +++ b/MagickCore/pixel-accessor.h @@ -354,12 +354,12 @@ static inline void GetPixelInfoPixel(const Image *restrict image, pixel_info->black=(MagickRealType) pixel[image->channel_map[BlackPixelChannel].offset]; pixel_info->alpha=(MagickRealType) OpaqueAlpha; - pixel_info->alpha_trait=MagickFalse; + pixel_info->alpha_trait=UndefinedPixelTrait; if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait) { pixel_info->alpha=(MagickRealType) pixel[image->channel_map[AlphaPixelChannel].offset]; - pixel_info->alpha_trait=MagickTrue; + pixel_info->alpha_trait=BlendPixelTrait; } pixel_info->index=0.0f; if (image->channel_map[IndexPixelChannel].traits != UndefinedPixelTrait) -- 2.50.1