mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
vkswapper: only wait on the semaphore once
It's invalid usage and we may deadlock
This commit is contained in:
parent
2f11fc029d
commit
9a0f415e79
1 changed files with 2 additions and 2 deletions
|
@ -954,8 +954,8 @@ reacquire:
|
|||
|
||||
submit_info.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO;
|
||||
submit_info.pNext = NULL;
|
||||
submit_info.waitSemaphoreCount = 1;
|
||||
submit_info.pWaitSemaphores = &semaphore;
|
||||
submit_info.waitSemaphoreCount = 0;
|
||||
submit_info.pWaitSemaphores = NULL;
|
||||
submit_info.commandBufferCount = 1;
|
||||
submit_info.pCommandBuffers = &cmd_data.cmd;
|
||||
submit_info.signalSemaphoreCount = 0;
|
||||
|
|
Loading…
Reference in a new issue