mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 00:57:56 -05:00
fix: iw4 materials not writing correct stateBitsEntry
This commit is contained in:
@ -1128,7 +1128,7 @@ namespace IW4
|
|||||||
struct Material
|
struct Material
|
||||||
{
|
{
|
||||||
MaterialInfo info;
|
MaterialInfo info;
|
||||||
unsigned char stateBitsEntry[48];
|
char stateBitsEntry[48];
|
||||||
unsigned char textureCount;
|
unsigned char textureCount;
|
||||||
unsigned char constantCount;
|
unsigned char constantCount;
|
||||||
unsigned char stateBitsCount;
|
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
|
} // namespace IW4
|
||||||
|
Reference in New Issue
Block a user