mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-03 02:55:36 +00:00
fix: iw4 materials not writing correct stateBitsEntry
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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