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
+1 -1
View File
@@ -200,7 +200,7 @@ namespace image
std::unique_ptr<Texture> ConvertTextureForDdsFileOutputIfNecessary(const Texture* texture)
{
static const std::unordered_map<ImageFormatId, ImageFormatId> ddsConversionTable{
{ImageFormatId::R8_G8_B8, ImageFormatId::B8_G8_R8_X8},
{ImageFormatId::B8_G8_R8, ImageFormatId::B8_G8_R8_X8},
};
const auto entry = ddsConversionTable.find(texture->GetFormat()->GetId());