Don't set flags on VkSemaphoreCreateInfo

This commit is contained in:
Justin Li 2016-03-06 01:20:03 -05:00
parent f8360427cb
commit 311f223e10
33 changed files with 40 additions and 73 deletions

View file

@ -526,8 +526,7 @@ public:
{
VkResult err;
VkSemaphore presentCompleteSemaphore;
VkSemaphoreCreateInfo presentCompleteSemaphoreCreateInfo =
vkTools::initializers::semaphoreCreateInfo(VK_FLAGS_NONE);
VkSemaphoreCreateInfo presentCompleteSemaphoreCreateInfo = vkTools::initializers::semaphoreCreateInfo();
err = vkCreateSemaphore(device, &presentCompleteSemaphoreCreateInfo, nullptr, &presentCompleteSemaphore);
assert(!err);
@ -1193,4 +1192,4 @@ int main(const int argc, const char *argv[])
vulkanExample->renderLoop();
delete(vulkanExample);
return 0;
}
}