Make configuration more explicit

This commit is contained in:
Hanno Braun 2024-10-31 18:17:38 +01:00
parent fdf3ffd88f
commit ed62604435

View File

@ -109,7 +109,15 @@ impl Renderer {
write_mask: wgpu::ColorWrites::all(), write_mask: wgpu::ColorWrites::all(),
})], })],
}), }),
primitive: wgpu::PrimitiveState::default(), primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,
strip_index_format: None,
front_face: wgpu::FrontFace::Ccw,
cull_mode: None,
unclipped_depth: false,
polygon_mode: wgpu::PolygonMode::Fill,
conservative: false,
},
depth_stencil: None, depth_stencil: None,
multisample: wgpu::MultisampleState::default(), multisample: wgpu::MultisampleState::default(),
multiview: None, multiview: None,