Skip to content

Commit

Permalink
zink: fix return for zink_kopper_acquire
Browse files Browse the repository at this point in the history
  • Loading branch information
zmike authored and Marge Bot committed Apr 27, 2022
1 parent ce9cbee commit 494d02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallium/drivers/zink/zink_kopper.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ zink_kopper_acquire(struct zink_context *ctx, struct zink_resource *res, uint64_
} else if (is_swapchain_kill(ret)) {
kill_swapchain(ctx, res);
}
return ret;
return !is_swapchain_kill(ret);
}

VkSemaphore
Expand Down

0 comments on commit 494d02e

Please sign in to comment.