diff --git a/src/draw/vg_lite/lv_draw_vg_lite_layer.c b/src/draw/vg_lite/lv_draw_vg_lite_layer.c index fcb908e07..95cec26ff 100644 --- a/src/draw/vg_lite/lv_draw_vg_lite_layer.c +++ b/src/draw/vg_lite/lv_draw_vg_lite_layer.c @@ -53,9 +53,11 @@ void lv_draw_vg_lite_layer(lv_draw_unit_t * draw_unit, const lv_draw_image_dsc_t img_dsc.header.w = lv_area_get_width(&layer->buf_area); img_dsc.header.h = lv_area_get_height(&layer->buf_area); img_dsc.header.cf = layer->color_format; - img_dsc.header.always_zero = 0; img_dsc.data = layer->buf; + /* The GPU output is premultiplied RGB */ + img_dsc.header.flags = LV_IMAGE_FLAGS_PREMULTIPLIED; + lv_draw_image_dsc_t new_draw_dsc = *draw_dsc; new_draw_dsc.src = &img_dsc;