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:
Kawe Mazidjatari 2025-01-07 21:54:56 +01:00
parent e1f0de0089
commit 68271b9768

View File

@ -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;