Introduce internal_backend to iced_wgpu::Settings
This commit is contained in:
parent
ab8dcf91bd
commit
883c7e71ae
4 changed files with 52 additions and 41 deletions
|
|
@ -29,3 +29,12 @@ impl Default for Settings {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Settings {
|
||||
/// Creates new [`Settings`] using environment configuration.
|
||||
///
|
||||
/// Currently, this is equivalent to calling [`Settings::default`].
|
||||
pub fn from_env() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue