vkswapper: only wait on the semaphore once

It's invalid usage and we may deadlock
This commit is contained in:
Matthew Waters 2015-12-30 15:14:23 +11:00
parent 2f11fc029d
commit 9a0f415e79

View file

@ -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;