bdk: vic: add support for P8 and R5G5B5

This commit is contained in:
CTCaer
2024-04-25 04:44:22 +03:00
parent d92906db5e
commit 96efa7a002
2 changed files with 7 additions and 1 deletions

View File

@@ -406,6 +406,9 @@ void vic_set_surface(vic_surface_t *sfc)
// Get format alpha type.
switch (sfc->pix_fmt)
{
case VIC_PIX_FORMAT_L8:
case VIC_PIX_FORMAT_X1B5G5R5:
case VIC_PIX_FORMAT_B5G5R5X1:
case VIC_PIX_FORMAT_X8B8G8R8:
case VIC_PIX_FORMAT_X8R8G8B8:
case VIC_PIX_FORMAT_B8G8R8X8: