summaryrefslogtreecommitdiffstats
path: root/src/application.rs
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/application.rs
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/application.rs')
-rw-r--r--src/application.rs4
1 files changed, 2 insertions, 2 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::<