mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'capucho/wgpu-trace' into 'master'
Fix dir is empty check when setting WGPU_TRACE_DIR See merge request veloren/veloren!2873
This commit is contained in:
commit
bf9ad043ae
@ -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