mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
MaterialSystem: fix incorrect member variable type
Should be unsigned int 16, not 32. Member gets accessed with uint16 instructions. Structure is now alligned correctly with the engine, and its size also matches now.
This commit is contained in:
parent
e1f0de0089
commit
68271b9768
@ -57,7 +57,7 @@ struct MaterialGlue_s
|
|||||||
uint32 materialFlags2;
|
uint32 materialFlags2;
|
||||||
|
|
||||||
MaterialRenderParams_s renderParams[MATERIAL_RENDER_PARAMS_COUNT];
|
MaterialRenderParams_s renderParams[MATERIAL_RENDER_PARAMS_COUNT];
|
||||||
uint32 numAnimationFrames;
|
uint16 numAnimationFrames;
|
||||||
MaterialShaderType_e materialType;
|
MaterialShaderType_e materialType;
|
||||||
uint8 uberBufferFlags;
|
uint8 uberBufferFlags;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user