Require WGPU_TRACE_DIR to be set manually instead of having a default value

This commit is contained in:
Imbris 2021-04-25 21:41:46 -04:00
parent 30f02af6a4
commit c381059e28

View File

@ -206,8 +206,7 @@ impl Renderer {
},
std::env::var_os("WGPU_TRACE_DIR")
.as_ref()
.map(|v| std::path::Path::new(v))
.or(Some("./wgpu-trace".as_ref())),
.map(|v| std::path::Path::new(v)),
),
)?;