Add strip_index_format to linestrip in conservative-raster example (#2199)

This commit is contained in:
Neil Blakey-Milner authored and GitHub committed 2021-11-22 14:01:24 +00:00
1 parent 8196b7567c
commit 4f639622d0
1 file changed
+1
@@ -157,6 +157,7 @@ impl framework::Example for Example {
primitive: wgpu::PrimitiveState {
polygon_mode: wgpu::PolygonMode::Line,
topology: wgpu::PrimitiveTopology::LineStrip,
strip_index_format: Some(wgpu::IndexFormat::Uint32),
..Default::default()
},
depth_stencil: None,