change lines grouping

This commit is contained in:
Quaternions 2023-08-30 16:33:48 -07:00
parent 2f9068a5a1
commit 3c73aeeaa8

View File

@ -471,8 +471,8 @@ impl strafe_client::framework::Example for Skybox {
});
rpass.set_bind_group(0, &self.bind_group, &[]);
rpass.set_pipeline(&self.entity_pipeline);
rpass.set_pipeline(&self.entity_pipeline);
for entity in self.entities.iter() {
rpass.set_vertex_buffer(0, entity.vertex_buf.slice(..));
rpass.draw(0..entity.vertex_count, 0..1);