From 1d48bfff31f54f505be947690f9c652a81386ce0 Mon Sep 17 00:00:00 2001 From: Isse Date: Sat, 27 Jan 2024 20:49:31 +0100 Subject: [PATCH] Revert atlas texture name --- voxygen/src/scene/terrain.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voxygen/src/scene/terrain.rs b/voxygen/src/scene/terrain.rs index c3fb40086a..89d104f14d 100644 --- a/voxygen/src/scene/terrain.rs +++ b/voxygen/src/scene/terrain.rs @@ -782,7 +782,7 @@ impl Terrain { .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 Terrain { 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 Terrain { 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,