mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix dir is empty check when setting WGPU_TRACE_DIR
This commit is contained in:
parent
83fed7a2bc
commit
34eb58cded
@ -292,7 +292,7 @@ impl Renderer {
|
||||
path.read_dir()
|
||||
.expect("Could not read the directory that is specified by WGPU_TRACE_DIR")
|
||||
.next()
|
||||
.is_some(),
|
||||
.is_none(),
|
||||
"WGPU_TRACE_DIR is set to the path \"{}\" which already contains other files",
|
||||
path.display()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user