summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b5c19e0..483bfb2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -143,7 +143,7 @@ impl RendererState {
mip_level_count: 1,
sample_count: 1,
usage: wgpu::TextureUsages::TEXTURE_BINDING | wgpu::TextureUsages::COPY_DST,
- format: surface_format,
+ format: wgpu_types::TextureFormat::Rgba8UnormSrgb,
size: wgpu::Extent3d {
width: size.width,
height: size.height,