diff options
author | 2022-09-29 16:11:05 -0700 | |
---|---|---|
committer | 2022-09-29 16:11:05 -0700 | |
commit | 0f434c74d68d32ecbf2362d1edbac66976dcd8ab (patch) | |
tree | af9ad01f5c2dcef755624bc69bb41afc1e755ad3 /wgpu/src/triangle.rs | |
parent | 734557bda5924e563a9f0b39aca37d5953fcda5c (diff) | |
download | iced-0f434c74d68d32ecbf2362d1edbac66976dcd8ab.tar.gz iced-0f434c74d68d32ecbf2362d1edbac66976dcd8ab.tar.bz2 iced-0f434c74d68d32ecbf2362d1edbac66976dcd8ab.zip |
Removed some leftover debugging.
Diffstat (limited to 'wgpu/src/triangle.rs')
-rw-r--r-- | wgpu/src/triangle.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs index d632c26c..f1770e9a 100644 --- a/wgpu/src/triangle.rs +++ b/wgpu/src/triangle.rs @@ -92,7 +92,6 @@ impl Pipeline { ) { //count the total number of vertices & indices we need to handle let (total_vertices, total_indices) = meshes.attribute_count(); - println!("total vertices: {}, total indices: {}", total_vertices, total_indices); //Only create buffers if they need to be re-sized or don't exist if needs_recreate(&self.vertex_buffer, total_vertices) { @@ -136,14 +135,11 @@ impl Pipeline { mesh.origin.y, ); - println!("Mesh attribute data: Vertex: {:?}, Index: {:?}", mesh.buffers.vertices, mesh.buffers.indices); - let vertices = bytemuck::cast_slice(&mesh.buffers.vertices); let indices = bytemuck::cast_slice(&mesh.buffers.indices); //TODO: it's (probably) more efficient to reduce this write command and // iterate first and then upload - println!("vertex buffer len: {}, index length: {}", vertices.len(), indices.len()); vertex_buffer.write(offset_v, vertices); index_buffer.write(offset_i, indices); |