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