Skip to content

Commit

Permalink
Fix renderer method in iced_renderer::Compositor
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Nov 29, 2023
1 parent 6740c2c commit 8c4e7d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions renderer/src/compositor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ impl<Theme> crate::graphics::Compositor for Compositor<Theme> {
Compositor::Wgpu(compositor) => {
Renderer::Wgpu(compositor.renderer())
}
#[cfg(not(feature = "wgpu"))]
Self::Wgpu => {
panic!("`wgpu` feature was not enabled in `iced_renderer`")
}
}
}

Expand Down

0 comments on commit 8c4e7d8

Please sign in to comment.