engine: imagelib: add IL_HOST_ENDIAN flag to mark on-disk data that's already in host endianness

This commit is contained in:
Alibek Omarov
2026-04-24 20:17:44 +05:00
committed by a1batross
parent 86a2ea29e4
commit b3bb2fc16f
3 changed files with 6 additions and 3 deletions

View File

@@ -87,6 +87,7 @@ typedef enum
IL_LOAD_PLAYER_DECAL = BIT(7), // special mode for player decals
IL_KTX2_RAW = BIT(8), // renderer can consume raw KTX2 files (e.g. ref_vk)
IL_ALLOW_WAD3_LUMA = BIT(9), // allow usage of luma textures in wad3 (tilde textures)
IL_HOST_ENDIAN = BIT(10), // buffer is already in host endian, skip byte-swapping
} ilFlags_t;
// goes into rgbdata_t->encode