aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2016-02-25 13:58:50 -0700
committerTony Barbour <tony@LunarG.com>2016-02-25 14:12:12 -0700
commit9b7054fe649297726b4593d80a0102564bff91b3 (patch)
tree550d7a1e8151ccb78bdaf78994a762c19d2ad6bd /demos
parent12c72a405624ad42143a6e05a36bfc0f4eebea0b (diff)
downloadvulkan-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.c2
-rw-r--r--demos/tri.c2
-rw-r--r--demos/vulkaninfo.c2
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,