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

@ -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();
}
}
}
}