chore: update usages of AddAsset for template asset struct api

This commit is contained in:
Jan
2024-04-23 00:06:48 +02:00
parent 931fe695e1
commit ae43a994b9
49 changed files with 66 additions and 84 deletions

View File

@ -96,6 +96,6 @@ bool AssetLoaderVertexDecl::LoadFromRaw(
auto* allocatedDecl = memory->Create<MaterialVertexDeclaration>(decl);
manager->AddAsset(ASSET_TYPE_VERTEXDECL, assetName, allocatedDecl);
manager->AddAsset<AssetVertexDecl>(assetName, allocatedDecl);
return true;
}