refactor: remove MemoryManager create method usages

This commit is contained in:
Jan committed 2025-01-13 22:03:20 +00:00
1 parent 62f1ac41c5
commit 4c09e94220
11 files changed
+13 -89

No files matched your search

@@ -51,7 +51,7 @@ namespace test::game::iw4::menu::parsing::it
Material* AddMaterial(const std::string& name)
{
auto* material = m_zone.GetMemory()->Create<Material>();
auto* material = m_zone.GetMemory()->Alloc<Material>();
material->info.name = m_zone.GetMemory()->Dup(name.c_str());
m_context.AddAsset<AssetMaterial>(name, material);