Minor code review
This commit is contained in:
parent
7bda0c3a57
commit
002baf8072
@ -59,13 +59,17 @@ namespace
|
||||
uint8_t bDescriptor;
|
||||
};
|
||||
|
||||
static_assert(sizeof(TGA_HEADER) == 18, "TGA 2.0 size mismatch");
|
||||
|
||||
struct TGA_FOOTER
|
||||
{
|
||||
uint16_t dwExtensionOffset;
|
||||
uint16_t dwDeveloperOffset;
|
||||
uint32_t dwExtensionOffset;
|
||||
uint32_t dwDeveloperOffset;
|
||||
char Signature[18];
|
||||
};
|
||||
|
||||
static_assert(sizeof(TGA_FOOTER) == 26, "TGA 2.0 size mismatch");
|
||||
|
||||
struct TGA_EXTENSION
|
||||
{
|
||||
uint16_t wSize;
|
||||
@ -94,6 +98,9 @@ namespace
|
||||
uint32_t dwScanOffset;
|
||||
uint8_t bAttributesType;
|
||||
};
|
||||
|
||||
static_assert(sizeof(TGA_EXTENSION) == 495, "TGA 2.0 size mismatch");
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
enum CONVERSION_FLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user