1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(draw) use correct pointer in lv_draw_mask assertion (#2483)

This commit is contained in:
Mariotaku 2021-08-23 23:25:00 +09:00 committed by GitHub
parent e3da5a6350
commit 9b92885f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
- perf(draw) reimplement rectangle drawing algorithms
- perf(draw) reimplement circle drawing algorithms (#2374) (Also [change masking](https://docs.lvgl.io/master/overview/drawing.html#masking))
- fix(draw) false assertion error in lv_draw_mask caused by wrong pointer
## v8.0.2 (16.07.2021)
- fix(theme) improve button focus of keyboard

View File

@ -473,7 +473,7 @@ void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area
if(!entry) {
entry = lv_mem_alloc(sizeof(_lv_draw_mask_radius_circle_dsc_t));
LV_ASSERT_MALLOC(param->circle);
LV_ASSERT_MALLOC(entry);
lv_memset_00(entry, sizeof(_lv_draw_mask_radius_circle_dsc_t));
entry->life = -1;
} else {