Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-11-06 18:46:22 +01:00
parent 54b308269e
commit 38c79002ac

View File

@ -277,7 +277,7 @@ impl Renderer {
render_pass.set_pipeline(&self.pipeline);
render_pass.set_bind_group(0, &self.bind_group, &[]);
render_pass.draw_indexed(
0..mesh.triangles().len() as u32 * 3,
0..mesh_triangles.len() as u32 * 3,
0,
0..1,
);