From 9ce9eb50bef2ab4665e30831d691407f2a2a8d19 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 29 Sep 2023 13:26:31 -0700 Subject: [PATCH] fix washed out textures --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index dd37c8e..baa8b01 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,7 +121,7 @@ impl GraphicsData { mip_level_count: max_mips, sample_count: 1, dimension: wgpu::TextureDimension::D2, - format: wgpu::TextureFormat::Bc7RgbaUnorm, + format: wgpu::TextureFormat::Bc7RgbaUnormSrgb, usage: wgpu::TextureUsages::TEXTURE_BINDING | wgpu::TextureUsages::COPY_DST, label: Some(format!("Texture{}",i).as_str()), view_formats: &[],