From cd56a387d42af261b6c42dc8f7bc7df4ba7e636b Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 27 Jun 2015 15:39:21 +0000 Subject: [PATCH] --- coders/tga.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/coders/tga.c b/coders/tga.c index b38de54dd..f4a7d13ee 100644 --- a/coders/tga.c +++ b/coders/tga.c @@ -514,9 +514,11 @@ static Image *ReadTGAImage(const ImageInfo *image_info, SetPixelAlpha(image,ClampToQuantum(pixel.alpha),q); q+=GetPixelChannels(image); } - if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 4) - offset+=4; - else + /* + if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 4) + offset+=4; + else + */ if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 2) offset+=2; else -- 2.50.1