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 committed by Avi Weinstock
parent a93be322b5
commit d032563780

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)),
),
)?;