Update wgpu to 0.15

This commit is contained in:
Héctor Ramón Jiménez 2023-04-08 04:15:59 +02:00 committed by Josh Groves
parent b9430c39b6
commit ddaaae295c
3 changed files with 9 additions and 7 deletions

View file

@ -49,6 +49,7 @@ impl InnerAtlas {
_ => panic!("unexpected number of channels"),
},
usage: TextureUsages::TEXTURE_BINDING | TextureUsages::COPY_DST,
view_formats: &[],
});
let texture_view = texture.create_view(&TextureViewDescriptor::default());