summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-24 23:24:48 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-24 23:24:48 +0100
commit5100b5d0a1f654ec1254b7765ceadfb9091d6939 (patch)
treeac33dc79803af7040659380c0c94440b29e93e77 /src
parent368cadd25a8b57ee5c41e45d1abe8d1dfb194c69 (diff)
downloadiced-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.rs4
-rw-r--r--src/lib.rs2
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::<
diff --git a/src/lib.rs b/src/lib.rs
index 31ec4f48..bb162f2d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;