Don't set flags on VkSemaphoreCreateInfo
This commit is contained in:
parent
f8360427cb
commit
311f223e10
33 changed files with 40 additions and 73 deletions
|
|
@ -1300,7 +1300,6 @@ struct VulkanExample
|
|||
VkSemaphoreCreateInfo presentCompleteSemaphoreCreateInfo = {};
|
||||
presentCompleteSemaphoreCreateInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO;
|
||||
presentCompleteSemaphoreCreateInfo.pNext = NULL;
|
||||
presentCompleteSemaphoreCreateInfo.flags = VK_FENCE_CREATE_SIGNALED_BIT;
|
||||
|
||||
err = vkCreateSemaphore(device, &presentCompleteSemaphoreCreateInfo, nullptr, &presentCompleteSemaphore);
|
||||
assert(!err);
|
||||
|
|
@ -1475,4 +1474,4 @@ void android_main(struct android_app* state)
|
|||
engine->draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue