summaryrefslogtreecommitdiffstats
path: root/renderer
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-29 22:47:46 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-29 22:47:46 +0100
commit8c4e7d80a1ba128864ee82770a4670b8dbba619a (patch)
treecf04dc2dacaf097354526046f9ec9f2996b7e675 /renderer
parent6740c2c5d6b24399dab1343abdfec5daf4b03c98 (diff)
downloadiced-8c4e7d80a1ba128864ee82770a4670b8dbba619a.tar.gz
iced-8c4e7d80a1ba128864ee82770a4670b8dbba619a.tar.bz2
iced-8c4e7d80a1ba128864ee82770a4670b8dbba619a.zip
Fix `renderer` method in `iced_renderer::Compositor`
Diffstat (limited to 'renderer')
-rw-r--r--renderer/src/compositor.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/renderer/src/compositor.rs b/renderer/src/compositor.rs
index 5fc5a459..5bec1639 100644
--- a/renderer/src/compositor.rs
+++ b/renderer/src/compositor.rs
@@ -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`")
- }
}
}