mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-30 23:51:54 +08:00
fix(gif): add missing D-cache flush (#9228)
Signed-off-by: rongyichang <rongyichang@xiaommi.com> Co-authored-by: rongyichang <rongyichang@xiaommi.com>
This commit is contained in:
@@ -444,6 +444,7 @@ static void next_frame_task_cb(lv_timer_t * t)
|
|||||||
lv_timer_set_period(gifobj->timer, ms_delay_next);
|
lv_timer_set_period(gifobj->timer, ms_delay_next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lv_draw_buf_flush_cache(gifobj->draw_buf, NULL);
|
||||||
lv_image_cache_drop(lv_image_get_src(obj));
|
lv_image_cache_drop(lv_image_get_src(obj));
|
||||||
lv_obj_invalidate(obj);
|
lv_obj_invalidate(obj);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user