[gimp/gimp-2-8] Revert "Bug 683381 - Inverted alpha behavior of 16-bit Targa files"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Revert "Bug 683381 - Inverted alpha behavior of 16-bit Targa files"
- Date: Wed, 5 Sep 2012 21:35:27 +0000 (UTC)
commit 029d9ab9a5c36dfa4c03f934e1a9e2fc3de2ce51
Author: Michael Natterer <mitch gimp org>
Date: Wed Sep 5 23:34:59 2012 +0200
Revert "Bug 683381 - Inverted alpha behavior of 16-bit Targa files"
This reverts commit e2915eba7c3bc5761747a46b1e15550d30fe19fa.
plug-ins/common/file-tga.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-tga.c b/plug-ins/common/file-tga.c
index a490b62..c1d05dd 100644
--- a/plug-ins/common/file-tga.c
+++ b/plug-ins/common/file-tga.c
@@ -812,7 +812,7 @@ upsample (guchar *dest,
if (alpha)
{
- dest[3] = (src[1] & 0x80) ? 255 : 0;
+ dest[3] = (src[1] & 0x80) ? 0 : 255;
dest += 4;
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]