vulkan: add missing return in error case
This commit is contained in:
parent
6726d53b47
commit
3659006417
1 changed files with 1 additions and 0 deletions
|
|
@ -679,6 +679,7 @@ fn complete_async_host_copy(
|
|||
store(data);
|
||||
if let Err(e) = res {
|
||||
data.complete(Err(VulkanError::AsyncCopyToStaging(e)));
|
||||
return;
|
||||
}
|
||||
data.data_copied.set(true);
|
||||
match tt {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue