aboutsummaryrefslogtreecommitdiff
path: root/src/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader.c')
-rw-r--r--src/loader.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/loader.c b/src/loader.c
index 1250289..35e7450 100644
--- a/src/loader.c
+++ b/src/loader.c
@@ -360,12 +360,7 @@ static void *bg_next_frame(void *data)
}
switch(disposal_method) {
- case 0: /* nothing specified, just use the raw frame */
- if(ldr->bmp) {
- FreeImage_Unload(ldr->bmp);
- }
- ldr->bmp = frame32;
- break;
+ case 0: /* nothing specified, fall through to compositing */
case 1: /* composite over previous frame */
if(ldr->bmp && ldr->cur_frame > 0) {
FIBITMAP *bg_frame = FreeImage_ConvertTo24Bits(ldr->bmp);