[Vulkan] Unset kBatchOwnsFence when transferring fences
This commit is contained in:
parent
7fbd55369e
commit
63a489d4c6
|
@ -93,6 +93,7 @@ class BaseFencedPool {
|
|||
// Transfer owned -> external
|
||||
vkDestroyFence(device_, batch->fence, nullptr);
|
||||
batch->fence = fence;
|
||||
batch->flags &= ~kBatchOwnsFence;
|
||||
} else if (!(batch->flags & kBatchOwnsFence) && !fence) {
|
||||
// external -> owned
|
||||
VkFenceCreateInfo info;
|
||||
|
|
Loading…
Reference in New Issue