mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-22 15:24:16 +08:00
fix(draw_sw_vector): fix thorvg canvas colorspace (#7975)
This commit is contained in:
@@ -493,7 +493,7 @@ void lv_draw_sw_vector(lv_draw_task_t * t, const lv_draw_vector_task_dsc_t * dsc
|
||||
stride = new_buf->header.stride;
|
||||
}
|
||||
Tvg_Canvas * canvas = tvg_swcanvas_create();
|
||||
tvg_swcanvas_set_target(canvas, buf, stride / 4, width, height, TVG_COLORSPACE_ARGB8888S);
|
||||
tvg_swcanvas_set_target(canvas, buf, stride / 4, width, height, TVG_COLORSPACE_ARGB8888);
|
||||
|
||||
_tvg_rect rc;
|
||||
lv_area_to_tvg(&rc, &t->clip_area);
|
||||
|
||||
Reference in New Issue
Block a user