Fix uses of deprecated Vulkan symbol

This commit is contained in:
Camilla Berglund 2016-05-02 23:03:43 +02:00
parent 078bd8ef40
commit 3f25610d2f
2 changed files with 2 additions and 2 deletions

View File

@ -816,7 +816,7 @@ int main(int argc, char** argv)
ai.applicationVersion = GLFW_VERSION_MAJOR; ai.applicationVersion = GLFW_VERSION_MAJOR;
ai.pEngineName = "GLFW"; ai.pEngineName = "GLFW";
ai.engineVersion = GLFW_VERSION_MAJOR; ai.engineVersion = GLFW_VERSION_MAJOR;
ai.apiVersion = VK_API_VERSION; ai.apiVersion = VK_API_VERSION_1_0;
ici.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; ici.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
ici.pApplicationInfo = &ai; ici.pApplicationInfo = &ai;

View File

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