fix example programs.

This commit is contained in:
2020-09-21 17:19:47 +08:00
parent ecf44bc474
commit 906662f12b
10 changed files with 170 additions and 172 deletions

View File

@@ -195,8 +195,8 @@ private:
vertex_buffer =db->CreateVAB(VAF_VEC4,tile_count,vertex_data);
tex_coord_buffer=db->CreateVAB(VAF_VEC4,tile_count,tex_coord_data);
render_obj->Set("Vertex",vertex_buffer);
render_obj->Set("TexCoord",tex_coord_buffer);
render_obj->Set(VAN::Position,vertex_buffer);
render_obj->Set(VAN::TexCoord,tex_coord_buffer);
}
bool InitPipeline()