mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Require WGPU_TRACE_DIR to be set manually instead of having a default value
This commit is contained in:
parent
a93be322b5
commit
d032563780
@ -206,8 +206,7 @@ impl Renderer {
|
|||||||
},
|
},
|
||||||
std::env::var_os("WGPU_TRACE_DIR")
|
std::env::var_os("WGPU_TRACE_DIR")
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|v| std::path::Path::new(v))
|
.map(|v| std::path::Path::new(v)),
|
||||||
.or(Some("./wgpu-trace".as_ref())),
|
|
||||||
),
|
),
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user