diff options
author | Tony Barbour <tony@LunarG.com> | 2016-02-25 13:58:50 -0700 |
---|---|---|
committer | Tony Barbour <tony@LunarG.com> | 2016-02-25 14:12:12 -0700 |
commit | 9b7054fe649297726b4593d80a0102564bff91b3 (patch) | |
tree | 550d7a1e8151ccb78bdaf78994a762c19d2ad6bd /demos | |
parent | 12c72a405624ad42143a6e05a36bfc0f4eebea0b (diff) | |
download | vulkan-validation-layers-9b7054fe649297726b4593d80a0102564bff91b3.tar.gz |
Use API Version 1.0.0 instead of using VK_API_VERSION for tests/demos
Diffstat (limited to 'demos')
-rw-r--r-- | demos/cube.c | 2 | ||||
-rw-r--r-- | demos/tri.c | 2 | ||||
-rw-r--r-- | demos/vulkaninfo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/cube.c b/demos/cube.c index fb21a07b6..e85747c8f 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 702f807a4..ab83f33d3 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 dcba5d48b..e6fe59cb2 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, |