mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 23:41:01 +01:00
Add strip_index_format to linestrip in conservative-raster example (#2199)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user