diff --git a/src/graphics/renderers/deferred/box/mod.rs b/src/graphics/renderers/deferred/box/mod.rs index 4214a88a..bedf9392 100644 --- a/src/graphics/renderers/deferred/box/mod.rs +++ b/src/graphics/renderers/deferred/box/mod.rs @@ -84,16 +84,10 @@ impl BoxRenderer { vertex_shader: &EntryPoint, fragment_shader: &EntryPoint, ) -> Arc { - let rasterization_state = RasterizationState { - line_width: StateMode::Fixed(3.0), - ..Default::default() - }; - PipelineBuilder::<_, { DeferredRenderer::lighting_subpass() }>::new([vertex_shader, fragment_shader]) .vertex_input_state::(vertex_shader) .topology(PrimitiveTopology::LineList) .fixed_viewport(viewport) - .rasterization_state(rasterization_state) .build(device, subpass) } diff --git a/src/main.rs b/src/main.rs index 18adb4a6..684739e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -157,8 +157,6 @@ fn main() { enabled_features: vulkano::device::Features { sampler_anisotropy: true, #[cfg(feature = "debug")] - wide_lines: true, - #[cfg(feature = "debug")] fill_mode_non_solid: true, ..Default::default() },