Eevee: fix wrong sizeof.
Like really? wtf dude? *self face slapping*
This commit is contained in:
@@ -1141,7 +1141,7 @@ static void material_opaque(
|
||||
}
|
||||
}
|
||||
|
||||
emsg = MEM_mallocN(sizeof("EeveeMaterialShadingGroups"), "EeveeMaterialShadingGroups");
|
||||
emsg = MEM_mallocN(sizeof(EeveeMaterialShadingGroups), "EeveeMaterialShadingGroups");
|
||||
emsg->shading_grp = *shgrp;
|
||||
emsg->depth_grp = *shgrp_depth;
|
||||
emsg->depth_clip_grp = *shgrp_depth_clip;
|
||||
|
||||
Reference in New Issue
Block a user