Introduce backend feature flags in iced_renderer
This commit is contained in:
parent
06bbcc310e
commit
9b4bcd287a
6 changed files with 147 additions and 93 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#[cfg(not(any(feature = "wgpu", feature = "tiny-skia")))]
|
||||
compile_error!("No backend selected. Enable at least one backend feature: `wgpu` or `tiny-skia`.");
|
||||
|
||||
pub mod compositor;
|
||||
|
||||
#[cfg(feature = "geometry")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue