Use VK_API_VERSION_1_0 to make the Vulkan example build again.

This commit is contained in:
Emmanuel Gil Peyrot 2016-04-28 01:24:06 +01:00
parent 3b0b5dacf5
commit bc636e5ea9

View File

@ -1778,7 +1778,7 @@ static void demo_init_vk(struct demo *demo) {
.applicationVersion = 0,
.pEngineName = APP_SHORT_NAME,
.engineVersion = 0,
.apiVersion = VK_API_VERSION,
.apiVersion = VK_API_VERSION_1_0,
};
VkInstanceCreateInfo inst_info = {
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,