fix: do not dump iwis with format unknown

This commit is contained in:
Jan Laupetin
2026-05-17 11:15:25 +02:00
parent 73e2e3d4d5
commit c49d2bc96f
11 changed files with 148 additions and 48 deletions
+6 -4
View File
@@ -8,9 +8,8 @@
namespace image
{
enum class ImageFormatId
enum class ImageFormatId : std::uint8_t
{
UNKNOWN = -1,
R8_G8_B8,
B8_G8_R8_X8,
R8_G8_B8_A8,
@@ -25,10 +24,13 @@ namespace image
BC4,
BC5,
MAX
MAX,
UNKNOWN
};
enum class ImageFormatType
const char* GetImageFormatName(ImageFormatId id);
enum class ImageFormatType : std::uint8_t
{
UNKNOWN,
UNSIGNED,