Skip to content

Commit e30b663

Browse files
committed
Fixes index_buffer label in ray_traced_triangle example.
1 parent ddec1a8 commit e30b663

File tree

1 file changed

+1
-1
lines changed
  • examples/features/src/ray_traced_triangle

1 file changed

+1
-1
lines changed

examples/features/src/ray_traced_triangle/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl crate::framework::Example for Example {
120120
});
121121

122122
let index_buffer = device.create_buffer_init(&BufferInitDescriptor {
123-
label: Some("vertex buffer"),
123+
label: Some("index buffer"),
124124
contents: bytemuck::cast_slice(&indices),
125125
usage: BufferUsages::BLAS_INPUT,
126126
});

0 commit comments

Comments
 (0)