diff options
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 |
