mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 01:33:59 +08:00
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
d0f74979f2
commit
2c021b69dc
@ -179,8 +179,7 @@ void lv_draw_dispatch(void)
|
||||
while(disp) {
|
||||
lv_layer_t * layer = disp->layer_head;
|
||||
while(layer) {
|
||||
/* If there are no tasks in the layer, skip it */
|
||||
if(layer->draw_task_head && lv_draw_dispatch_layer(disp, layer))
|
||||
if(lv_draw_dispatch_layer(disp, layer))
|
||||
task_dispatched = true;
|
||||
layer = layer->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user