fixed RenderList2D and third_triangle example.

This commit is contained in:
2023-05-06 19:30:08 +08:00
parent 12e64d7ce0
commit abfc84feff
8 changed files with 79 additions and 270 deletions

View File

@@ -45,7 +45,7 @@ private:
bool InitMaterial()
{
AutoDelete<MaterialCreateInfo> mci=mtl::CreateVertexColor2D(CoordinateSystem2D::ZeroToOne);
AutoDelete<MaterialCreateInfo> mci=mtl::CreateVertexColor2D(mtl::CoordinateSystem2D::ZeroToOne);
material_instance=db->CreateMaterialInstance(mci);