Introduce iced_renderer subcrate featuring runtime renderer fallback
This commit is contained in:
parent
368cadd25a
commit
5100b5d0a1
16 changed files with 371 additions and 72 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue