mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
vtf: fix vtf header padding
This commit is contained in:
parent
b6cb0c2696
commit
3d0025b594
@ -471,14 +471,11 @@ struct VTFFileHeaderV7_1_t : public VTFFileBaseHeader_t
|
|||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
unsigned short numFrames;
|
unsigned short numFrames;
|
||||||
unsigned short startFrame;
|
unsigned short startFrame;
|
||||||
#if !defined( POSIX ) && !defined( _X360 )
|
|
||||||
VectorAligned reflectivity;
|
|
||||||
#else
|
|
||||||
// must manually align in order to maintain pack(1) expected layout with existing binaries
|
// must manually align in order to maintain pack(1) expected layout with existing binaries
|
||||||
char pad1[4];
|
char pad1[4];
|
||||||
Vector reflectivity;
|
VectorAligned reflectivity;
|
||||||
char pad2[4];
|
|
||||||
#endif
|
|
||||||
float bumpScale;
|
float bumpScale;
|
||||||
ImageFormat imageFormat;
|
ImageFormat imageFormat;
|
||||||
unsigned char numMipLevels;
|
unsigned char numMipLevels;
|
||||||
|
Loading…
Reference in New Issue
Block a user