Introduce feature flags to enable iced_glow
Also keep `iced_wgpu` as the default renderer for the time being.
This commit is contained in:
parent
d6bf8955db
commit
22ced3485e
8 changed files with 72 additions and 35 deletions
|
|
@ -3,7 +3,7 @@
|
|||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub type Element<'a, Message> =
|
||||
iced_glutin::Element<'a, Message, iced_glow::Renderer>;
|
||||
crate::runtime::Element<'a, Message, crate::renderer::Renderer>;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub use iced_web::Element;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue