fix(arm-2d): fix arm-2d transform chrome-keying issue (#4179)

This commit is contained in:
Gabriel Wang
2023-05-01 10:29:51 +01:00
committed by GitHub
parent 3fe1dcd222
commit 7be3bfd962

View File

@@ -1075,8 +1075,7 @@ static void lv_draw_arm2d_img_decoded(struct _lv_draw_ctx_t * draw_ctx,
source_center.iX = draw_dsc->pivot.x;
source_center.iY = draw_dsc->pivot.y;
if((LV_COLOR_FORMAT_NATIVE_CHROMA_KEYED == cf) ||
(LV_COLOR_FORMAT_NATIVE == cf)) {
if(LV_COLOR_FORMAT_NATIVE_CHROMA_KEYED == cf) {
__ARM_2D_PREPARE_TRANS_AND_TARGET_REGION(
arm_2d_tile_transform_with_opacity_prepare,