forked from AuroraMiddleware/gtk
Always clear the initial frame and "disposed" areas with transparent
2003-02-20 Matthias Clasen <maclas@gmx.de> * io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Always clear the initial frame and "disposed" areas with transparent pixels, no matter whether the frame has transparency or not. (#55502)
This commit is contained in:
parent
16ae019e45
commit
db0dfee6de
@ -1,3 +1,10 @@
|
||||
2003-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite):
|
||||
Always clear the initial frame and "disposed" areas with
|
||||
transparent pixels, no matter whether the frame has transparency
|
||||
or not. (#55502)
|
||||
|
||||
2003-02-18 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* io-tga.c (pixbuf_flip_row):
|
||||
|
@ -404,8 +404,7 @@ gdk_pixbuf_gif_anim_frame_composite (GdkPixbufGifAnim *gif_anim,
|
||||
gdk_pixbuf_fill (f->composited,
|
||||
(gif_anim->bg_red << 24) |
|
||||
(gif_anim->bg_green << 16) |
|
||||
(gif_anim->bg_blue << 8) |
|
||||
(f->bg_transparent ? 0 : 255));
|
||||
(gif_anim->bg_blue << 8));
|
||||
|
||||
gdk_pixbuf_composite (f->pixbuf,
|
||||
f->composited,
|
||||
@ -459,8 +458,7 @@ gdk_pixbuf_gif_anim_frame_composite (GdkPixbufGifAnim *gif_anim,
|
||||
gdk_pixbuf_fill (area,
|
||||
(gif_anim->bg_red << 24) |
|
||||
(gif_anim->bg_green << 16) |
|
||||
(gif_anim->bg_blue << 8) |
|
||||
prev_frame->bg_transparent ? 0 : 255);
|
||||
(gif_anim->bg_blue << 8));
|
||||
|
||||
g_object_unref (area);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user