mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-16 21:26:09 +00:00
Consolidate duplicated code
This commit is contained in:
parent
c4b83be39c
commit
e94372c026
@ -254,7 +254,7 @@ impl Renderer {
|
||||
);
|
||||
}
|
||||
|
||||
if self.features.contains(wgpu::Features::POLYGON_MODE_LINE) {
|
||||
if self.is_line_drawing_available() {
|
||||
if config.draw_mesh {
|
||||
drawables.mesh.draw(
|
||||
&mut encoder,
|
||||
|
Loading…
Reference in New Issue
Block a user