mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix: compile error (#4675)
This commit is contained in:
parent
4081130dd9
commit
aa0e82ca43
@ -90,7 +90,7 @@ void lv_draw_sw_layer(lv_draw_unit_t * draw_unit, const lv_draw_image_dsc_t * dr
|
|||||||
#if LV_USE_LAYER_DEBUG
|
#if LV_USE_LAYER_DEBUG
|
||||||
lv_draw_fill_dsc_t fill_dsc;
|
lv_draw_fill_dsc_t fill_dsc;
|
||||||
lv_draw_fill_dsc_init(&fill_dsc);
|
lv_draw_fill_dsc_init(&fill_dsc);
|
||||||
fill_dsc.color = lv_color_hex(layer_to_draw->draw_color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 : 0x00ff00);
|
fill_dsc.color = lv_color_hex(layer_to_draw->color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 : 0x00ff00);
|
||||||
fill_dsc.opa = LV_OPA_20;
|
fill_dsc.opa = LV_OPA_20;
|
||||||
lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot);
|
lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user