Revert atlas texture name

This commit is contained in:
Isse 2024-01-27 20:49:31 +01:00 committed by Marcel Märtens
parent ba2e7f6b1d
commit 1d48bfff31

View File

@ -782,7 +782,7 @@ impl<V: RectRasterableVol> Terrain<V> {
.map(|fmt| {
renderer.create_texture_raw(
&wgpu::TextureDescriptor {
label: Some("Atlas texture"),
label: Some("Terrain atlas texture"),
size: wgpu::Extent3d {
width: max_texture_size,
height: max_texture_size,
@ -796,7 +796,7 @@ impl<V: RectRasterableVol> Terrain<V> {
view_formats: &[],
},
&wgpu::TextureViewDescriptor {
label: Some("Atlas texture view"),
label: Some("Terrain atlas texture view"),
format: Some(fmt),
dimension: Some(wgpu::TextureViewDimension::D2),
aspect: wgpu::TextureAspect::All,
@ -806,7 +806,7 @@ impl<V: RectRasterableVol> Terrain<V> {
array_layer_count: None,
},
&wgpu::SamplerDescriptor {
label: Some("Atlas sampler"),
label: Some("Terrain atlas sampler"),
address_mode_u: wgpu::AddressMode::ClampToEdge,
address_mode_v: wgpu::AddressMode::ClampToEdge,
address_mode_w: wgpu::AddressMode::ClampToEdge,