mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
fix(tile) set minimum tiles to 1 if there is no SW render unit (#7130)
Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com>
This commit is contained in:
parent
040d293229
commit
de464daef5
@ -78,7 +78,7 @@ lv_display_t * lv_display_create(int32_t hor_res, int32_t ver_res)
|
||||
disp->color_format = LV_COLOR_FORMAT_NATIVE;
|
||||
|
||||
|
||||
#if defined(LV_DRAW_SW_DRAW_UNIT_CNT)
|
||||
#if defined(LV_DRAW_SW_DRAW_UNIT_CNT) && (LV_DRAW_SW_DRAW_UNIT_CNT != 0)
|
||||
disp->tile_cnt = LV_DRAW_SW_DRAW_UNIT_CNT;
|
||||
#else
|
||||
disp->tile_cnt = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user