Add animation blend and disposal concepts

This commit is contained in:
Nigel Tao committed 2018-06-03 19:27:57 +10:00
1 parent ba05d5beed
commit 6df342c60c
18 files changed
+762 -128

No files matched your search

+2 -1
View File
@@ -488,7 +488,8 @@ pri func decoder.decode_id_part1?(dst ptr base.image_buffer, src base.io_reader)
// Both this frame and the previous one used the global palette. No
// palette update is necessary.
}
in.dst.update!(dirty_rect:this.frame_rect, duration:this.gc_duration, palette:palette)
in.dst.update!(dirty_rect:this.frame_rect, duration:this.gc_duration,
blend:true, disposal:0, palette:palette)
this.previous_use_global_palette = not use_local_palette