mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +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) {
|
while(disp) {
|
||||||
lv_layer_t * layer = disp->layer_head;
|
lv_layer_t * layer = disp->layer_head;
|
||||||
while(layer) {
|
while(layer) {
|
||||||
/* If there are no tasks in the layer, skip it */
|
if(lv_draw_dispatch_layer(disp, layer))
|
||||||
if(layer->draw_task_head && lv_draw_dispatch_layer(disp, layer))
|
|
||||||
task_dispatched = true;
|
task_dispatched = true;
|
||||||
layer = layer->next;
|
layer = layer->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user