OpenJDK / amber / amber
changeset 6812:83cac1fcd3ed
6853488: REGRESSION : A black background is seen for a transparent animated gif image for splash screen
Reviewed-by: igor, prr
author | bae |
---|---|
date | Wed, 06 Oct 2010 12:19:54 +0400 |
parents | a0fd2f4b2197 |
children | 42f6c9c441b5 |
files | jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Tue Oct 05 10:23:14 2010 +0400 +++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Wed Oct 06 12:19:54 2010 +0400 @@ -277,7 +277,7 @@ ImageRect dstRect; rgbquad_t fillColor = 0; // 0 is transparent - if (transparentColor > 0) { + if (transparentColor < 0) { fillColor= MAKE_QUAD_GIF( colorMap->Colors[gif->SBackGroundColor], 0xff); }