mirror of https://github.com/GNOME/gimp.git
Bug 683381 - Inverted alpha behavior of 16-bit Targa files
file-tga.c (upsample): swap alpha behavior
This commit is contained in:
parent
9ab3abc98b
commit
dc00fb57a0
|
@ -812,7 +812,7 @@ upsample (guchar *dest,
|
|||
|
||||
if (alpha)
|
||||
{
|
||||
dest[3] = (src[1] & 0x80) ? 0 : 255;
|
||||
dest[3] = (src[1] & 0x80) ? 255 : 0;
|
||||
dest += 4;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue