Merge pull request #114 from pudnax/depth_typo

Clean probably missed stuff from '0.5 -> 0.6'
This commit is contained in:
sotrh 2020-10-21 17:06:21 -06:00 committed by GitHub
commit ce3c64aea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,6 @@ impl Texture {
let desc = wgpu::TextureDescriptor {
label: Some(label),
size,
array_layer_count: 1,
mip_level_count: 1,
sample_count: 1,
dimension: wgpu::TextureDimension::D2,
@ -45,7 +44,6 @@ impl Texture {
};
let texture = device.create_texture(&desc);
let texture = device.create_texture(&desc);
let view = texture.create_view(&wgpu::TextureViewDescriptor::default());
let sampler = device.create_sampler(
&wgpu::SamplerDescriptor { // 4.