mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-30 08:37:53 -05:00
fix: iw4 materials not writing correct stateBitsEntry
This commit is contained in:
@ -1128,7 +1128,7 @@ namespace IW4
|
||||
struct Material
|
||||
{
|
||||
MaterialInfo info;
|
||||
unsigned char stateBitsEntry[48];
|
||||
char stateBitsEntry[48];
|
||||
unsigned char textureCount;
|
||||
unsigned char constantCount;
|
||||
unsigned char stateBitsCount;
|
||||
|
@ -818,5 +818,5 @@ namespace IW4
|
||||
}},
|
||||
});
|
||||
|
||||
inline state_map::StateMapLayout stateMapLayout(std::extent_v<decltype(GfxStateBits::loadBits)>, stateMapEntryLayout, stateMapVarLayout);
|
||||
inline state_map::StateMapLayout stateMapLayout(std::extent_v<decltype(GfxStateBits::loadBits.raw)>, stateMapEntryLayout, stateMapVarLayout);
|
||||
} // namespace IW4
|
||||
|
Reference in New Issue
Block a user