From 455dd59b2c9c10b456a133302528775385e75810 Mon Sep 17 00:00:00 2001 From: Micha White Date: Sat, 4 Feb 2023 11:01:14 -0500 Subject: Upgrade to wgpu 0.15 --- alligator_render/src/texture.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'alligator_render/src/texture.rs') diff --git a/alligator_render/src/texture.rs b/alligator_render/src/texture.rs index 9f222e6..e2021f8 100644 --- a/alligator_render/src/texture.rs +++ b/alligator_render/src/texture.rs @@ -118,6 +118,7 @@ impl TextureAtlas { dimension: wgpu::TextureDimension::D2, format: wgpu::TextureFormat::Rgba8UnormSrgb, usage: wgpu::TextureUsages::TEXTURE_BINDING | wgpu::TextureUsages::COPY_DST, + view_formats: &[wgpu::TextureFormat::Rgba8UnormSrgb], }); // TODO I don't think this refreshes anything -- cgit v1.2.3