added fourth_triangle.cpp, not ok!!!

This commit is contained in:
2023-05-22 15:29:07 +08:00
parent 6b498d7e91
commit 3523afc6c2
2 changed files with 135 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ IndexBuffer *RenderResource::CreateIBO(IndexType index_type,uint32_t count,const
rm_buffers.Add(buf);
return(buf);
}
MaterialInstance *RenderResource::CreateMaterialInstance(Material *mtl,const VILConfig *vil_cfg)
{
if(!mtl)return(nullptr);