mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Revert atlas texture name
This commit is contained in:
parent
ba2e7f6b1d
commit
1d48bfff31
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user