From d7975a9de591a57b265c2d62078a65ffb9209696 Mon Sep 17 00:00:00 2001 From: Tilmann Meyer Date: Sun, 1 Aug 2021 20:38:34 +0200 Subject: wgpu: Use the preferred texture format of the surface Signed-off-by: Tilmann Meyer --- wgpu/src/settings.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'wgpu/src/settings.rs') 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, -- cgit