fixed TGA about codes.

This commit is contained in:
2023-06-28 22:12:06 +08:00
parent f4d19fc898
commit 9ed3f1b6c3
2 changed files with 12 additions and 0 deletions

View File

@@ -6,6 +6,13 @@ namespace hgl
{
namespace util
{
constexpr const uint TGA_IMAGE_TYPE_COLOR_MAP =1;
constexpr const uint TGA_IMAGE_TYPE_TRUE_COLOR =2;
constexpr const uint TGA_IMAGE_TYPE_GRAYSCALE =3;
constexpr const uint TGA_DIRECTION_LOWER_LEFT =0;
constexpr const uint TGA_DIRECTION_UPPER_LEFT =1;
#pragma pack(push,1)
struct TGAHeader
{