Why it was here?

This commit is contained in:
korenkonder
2025-04-13 02:48:11 +03:00
parent bb242e95e5
commit 559eade5db
+1 -1
View File
@@ -1870,7 +1870,7 @@ namespace mdl {
}
ObjData* DispManager::alloc_obj_data(ObjKind kind) {
int32_t size = (int32_t)align_val(sizeof(ObjKind) + sizeof(mat4) + sizeof(float_t), 0x08);
int32_t size = (int32_t)align_val(sizeof(ObjKind) + sizeof(mat4) + sizeof(float_t) * 2, 0x08);
switch (kind) {
case OBJ_KIND_NORMAL:
return (ObjData*)alloc_data(size + sizeof(ObjSubMeshArgs));