diff options
author | 2023-02-24 23:24:48 +0100 | |
---|---|---|
committer | 2023-02-24 23:24:48 +0100 | |
commit | 5100b5d0a1f654ec1254b7765ceadfb9091d6939 (patch) | |
tree | ac33dc79803af7040659380c0c94440b29e93e77 /src | |
parent | 368cadd25a8b57ee5c41e45d1abe8d1dfb194c69 (diff) | |
download | iced-5100b5d0a1f654ec1254b7765ceadfb9091d6939.tar.gz iced-5100b5d0a1f654ec1254b7765ceadfb9091d6939.tar.bz2 iced-5100b5d0a1f654ec1254b7765ceadfb9091d6939.zip |
Introduce `iced_renderer` subcrate featuring runtime renderer fallback
Diffstat (limited to 'src')
-rw-r--r-- | src/application.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/application.rs b/src/application.rs index 9a1c1855..b9871556 100644 --- a/src/application.rs +++ b/src/application.rs @@ -198,11 +198,11 @@ pub trait Application: Sized { default_font: settings.default_font, default_text_size: settings.default_text_size, antialiasing: if settings.antialiasing { - Some(crate::renderer::settings::Antialiasing::MSAAx4) + Some(crate::renderer::Antialiasing::MSAAx4) } else { None }, - ..crate::renderer::Settings::from_env() + ..crate::renderer::Settings::default() }; Ok(crate::runtime::application::run::< @@ -182,7 +182,7 @@ pub mod touch; pub mod widget; pub mod window; -use iced_wgpu as renderer; +use iced_renderer as renderer; use iced_winit as runtime; pub use iced_native::theme; |