Missing field on TextureDescriptor

pull/465/head
Bot-Kerem 1 year ago committed by GitHub
parent 1661c8543b
commit 61f05ecce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,6 +41,7 @@ impl Texture {
format: Self::DEPTH_FORMAT,
usage: wgpu::TextureUsages::RENDER_ATTACHMENT // 3.
| wgpu::TextureUsages::TEXTURE_BINDING,
view_formats: &[],
};
let texture = device.create_texture(&desc);

Loading…
Cancel
Save