mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
chore: update usages of AddAsset for template asset struct api
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user