added SetGlobal/GetGlobal/Free at RenderResource

This commit is contained in:
2023-03-21 21:37:03 +08:00
parent 8bf1ad2a46
commit 44620abc21
4 changed files with 39 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ private:
bool InitAutoMaterial()
{
auto *mci=mtl::CreateVertexColor2DNDC();
MaterialCreateInfo *mci=mtl::CreateVertexColor2DNDC();
material_instance=db->CreateMaterialInstance(mci,&vil_config);