diff --git a/fmt-conversion.c b/fmt-conversion.c index 9371ab1a11..de2f2c572d 100644 --- a/fmt-conversion.c +++ b/fmt-conversion.c @@ -25,7 +25,8 @@ static const struct { int fmt; enum PixelFormat pix_fmt; } conversion_map[] = { - {IMGFMT_BGR32, PIX_FMT_RGB32}, + {IMGFMT_ARGB, PIX_FMT_ARGB}, + {IMGFMT_BGRA, PIX_FMT_BGRA}, {IMGFMT_BGR24, PIX_FMT_BGR24}, {IMGFMT_BGR16, PIX_FMT_RGB565}, {IMGFMT_BGR15, PIX_FMT_RGB555}, @@ -37,7 +38,8 @@ static const struct { {IMGFMT_BG4B, PIX_FMT_RGB4_BYTE}, {IMGFMT_RGB48LE, PIX_FMT_RGB48LE}, {IMGFMT_RGB48BE, PIX_FMT_RGB48BE}, - {IMGFMT_RGB32, PIX_FMT_BGR32}, + {IMGFMT_ABGR, PIX_FMT_ABGR}, + {IMGFMT_RGBA, PIX_FMT_RGBA}, {IMGFMT_RGB24, PIX_FMT_RGB24}, {IMGFMT_RGB16, PIX_FMT_BGR565}, {IMGFMT_RGB15, PIX_FMT_BGR555},