fix(color): fix lv_color_format_has_alpha

fixes #4029
This commit is contained in:
Gabor Kiss-Vamosi
2023-03-01 23:22:05 +01:00
parent 175a142746
commit d4964713b3

View File

@@ -166,6 +166,7 @@ bool lv_color_format_has_alpha(lv_color_format_t cf)
case LV_COLOR_FORMAT_ARGB4444:
case LV_COLOR_FORMAT_A8L8:
case LV_COLOR_FORMAT_RGB565A8:
case LV_COLOR_FORMAT_ARGB8565:
case LV_COLOR_FORMAT_ARGB1555:
case LV_COLOR_FORMAT_ARGB8888:
return true;