diff options
| author | Micha White <botahamec@outlook.com> | 2023-02-04 11:01:14 -0500 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-02-04 11:01:14 -0500 |
| commit | 455dd59b2c9c10b456a133302528775385e75810 (patch) | |
| tree | 234558685105121b3748df1612d57f89ea74f25f /alligator_render/src/texture.rs | |
| parent | 17662181dd3947c7e38f60116cd57e88a2a2897d (diff) | |
Upgrade to wgpu 0.15
Diffstat (limited to 'alligator_render/src/texture.rs')
| -rw-r--r-- | alligator_render/src/texture.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
