fix: iwi rgb and rgba byte order wrong (#864)

This commit is contained in:
Jan
2026-06-28 19:43:25 +02:00
committed by GitHub
parent 5e563afa00
commit b0d90f3aac
9 changed files with 16 additions and 42 deletions
+2 -2
View File
@@ -13,10 +13,10 @@ IwiFormat IwiWriter::GetIwiFormatForImageFormat(const ImageFormat* imageFormat)
{
switch (imageFormat->GetId())
{
case ImageFormatId::R8_G8_B8:
case ImageFormatId::B8_G8_R8:
return IwiFormat::IMG_FORMAT_BITMAP_RGB;
case ImageFormatId::R8_G8_B8_A8:
case ImageFormatId::B8_G8_R8_A8:
return IwiFormat::IMG_FORMAT_BITMAP_RGBA;
case ImageFormatId::A8: