From 4308a1ad11994f277c71086bb05b9909e25cecc3 Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Thu, 25 Feb 2016 13:58:50 -0700 Subject: [PATCH] Use API Version 1.0.0 instead of using VK_API_VERSION for tests/demos --- demos/cube.c | 2 +- demos/tri.c | 2 +- demos/vulkaninfo.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index fb21a07..e85747c 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -2269,7 +2269,7 @@ static void demo_init_vk(struct demo *demo) { .applicationVersion = 0, .pEngineName = APP_SHORT_NAME, .engineVersion = 0, - .apiVersion = VK_API_VERSION, + .apiVersion = VK_MAKE_VERSION(1, 0, 0), }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, diff --git a/demos/tri.c b/demos/tri.c index 702f807..ab83f33 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -1896,7 +1896,7 @@ static void demo_init_vk(struct demo *demo) { .applicationVersion = 0, .pEngineName = APP_SHORT_NAME, .engineVersion = 0, - .apiVersion = VK_API_VERSION, + .apiVersion = VK_MAKE_VERSION(1, 0, 0), }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index dcba5d4..e6fe59c 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -579,7 +579,7 @@ static void app_create_instance(struct app_instance *inst) { .applicationVersion = 1, .pEngineName = APP_SHORT_NAME, .engineVersion = 1, - .apiVersion = VK_API_VERSION, + .apiVersion = VK_MAKE_VERSION(1, 0, 0), }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, -- 2.7.4