summaryrefslogtreecommitdiff
path: root/alligator_render/src/texture.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-04 11:01:14 -0500
committerMicha White <botahamec@outlook.com>2023-02-04 11:01:14 -0500
commit455dd59b2c9c10b456a133302528775385e75810 (patch)
tree234558685105121b3748df1612d57f89ea74f25f /alligator_render/src/texture.rs
parent17662181dd3947c7e38f60116cd57e88a2a2897d (diff)
Upgrade to wgpu 0.15
Diffstat (limited to 'alligator_render/src/texture.rs')
-rw-r--r--alligator_render/src/texture.rs1
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