Allow custom renderers in Program and Application
This commit is contained in:
parent
4f2f40c68b
commit
5137d655e6
19 changed files with 162 additions and 122 deletions
|
|
@ -174,7 +174,7 @@ where
|
|||
Self: 'static,
|
||||
{
|
||||
#[allow(clippy::needless_update)]
|
||||
let renderer_settings = crate::renderer::Settings {
|
||||
let renderer_settings = crate::graphics::Settings {
|
||||
default_font: settings.default_font,
|
||||
default_text_size: settings.default_text_size,
|
||||
antialiasing: if settings.antialiasing {
|
||||
|
|
@ -182,7 +182,7 @@ where
|
|||
} else {
|
||||
None
|
||||
},
|
||||
..crate::renderer::Settings::default()
|
||||
..crate::graphics::Settings::default()
|
||||
};
|
||||
|
||||
Ok(crate::shell::multi_window::run::<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue