diff options
author | 2021-08-01 20:38:34 +0200 | |
---|---|---|
committer | 2021-08-03 11:30:45 +0200 | |
commit | d7975a9de591a57b265c2d62078a65ffb9209696 (patch) | |
tree | 1dc26f557bc84f059de82f436895858642f635e8 /wgpu/src/settings.rs | |
parent | a08e4ebccbb72f9cf6fca01047e0b46a482ca9ea (diff) | |
download | iced-d7975a9de591a57b265c2d62078a65ffb9209696.tar.gz iced-d7975a9de591a57b265c2d62078a65ffb9209696.tar.bz2 iced-d7975a9de591a57b265c2d62078a65ffb9209696.zip |
wgpu: Use the preferred texture format of the surface
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
Diffstat (limited to 'wgpu/src/settings.rs')
-rw-r--r-- | wgpu/src/settings.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/wgpu/src/settings.rs b/wgpu/src/settings.rs index 9a7eed34..dc06b82d 100644 --- a/wgpu/src/settings.rs +++ b/wgpu/src/settings.rs @@ -6,11 +6,6 @@ pub use crate::Antialiasing; /// [`Backend`]: crate::Backend #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Settings { - /// The output format of the [`Backend`]. - /// - /// [`Backend`]: crate::Backend - pub format: wgpu::TextureFormat, - /// The present mode of the [`Backend`]. /// /// [`Backend`]: crate::Backend @@ -68,7 +63,6 @@ impl Settings { impl Default for Settings { fn default() -> Settings { Settings { - format: wgpu::TextureFormat::Bgra8UnormSrgb, present_mode: wgpu::PresentMode::Mailbox, internal_backend: wgpu::BackendBit::PRIMARY, default_font: None, |