6853488: REGRESSION : A black background is seen for a transparent animated gif image for splash screen
Reviewed-by: igor, prr
This commit is contained in:
parent
014b414926
commit
2d791621a4
@ -277,7 +277,7 @@ SplashDecodeGif(Splash * splash, GifFileType * gif)
|
|||||||
ImageRect dstRect;
|
ImageRect dstRect;
|
||||||
rgbquad_t fillColor = 0; // 0 is transparent
|
rgbquad_t fillColor = 0; // 0 is transparent
|
||||||
|
|
||||||
if (transparentColor > 0) {
|
if (transparentColor < 0) {
|
||||||
fillColor= MAKE_QUAD_GIF(
|
fillColor= MAKE_QUAD_GIF(
|
||||||
colorMap->Colors[gif->SBackGroundColor], 0xff);
|
colorMap->Colors[gif->SBackGroundColor], 0xff);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user