evas - tga loader - fix alpha handling for 16/15bpp images
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Aug 2014 02:58:35 +0000 (11:58 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Aug 2014 02:58:35 +0000 (11:58 +0900)
commit5b5ee4857adcd7cd5c9d2ebec68a505f5337f371
treef1cbac856aa8571a1c65b6e1538dd7906302da5f
parent7847c2dafe9d1cdfd3b922f44364bb6a558a4f31
evas - tga loader - fix alpha handling for 16/15bpp images

tga provides 16bpp images as actually 15bpp. the upper bit (alpha mask
bit) can be 0 or 1, but we don't check the  descriptor byte to see if
this bit is relevant or not. coverity pointed this out in CID 1039473
- logically dead code that should not have been dead except for this
missing logic. well done coverity!
src/modules/evas/loaders/tga/evas_image_load_tga.c