mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
Add strip_index_format to linestrip in conservative-raster example (#2199)
This commit is contained in:
parent
8196b7567c
commit
4f639622d0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user