Skip to content

Commit

Permalink
Add strip_index_format to linestrip in conservative-raster example (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nxsy authored Nov 22, 2021
1 parent 8196b75 commit 4f63962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wgpu/examples/conservative-raster/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4f63962

Please sign in to comment.