From 3f25610d2f30014382ddc508882adcd374fb3aa3 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 2 May 2016 23:03:43 +0200 Subject: [PATCH] Fix uses of deprecated Vulkan symbol --- tests/glfwinfo.c | 2 +- tests/vulkan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/glfwinfo.c b/tests/glfwinfo.c index 80676355..01d8ac0c 100644 --- a/tests/glfwinfo.c +++ b/tests/glfwinfo.c @@ -816,7 +816,7 @@ int main(int argc, char** argv) ai.applicationVersion = GLFW_VERSION_MAJOR; ai.pEngineName = "GLFW"; 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.pApplicationInfo = &ai; diff --git a/tests/vulkan.c b/tests/vulkan.c index cacba9c0..1b62d681 100644 --- a/tests/vulkan.c +++ b/tests/vulkan.c @@ -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,