diff options
| author | Jon Ashburn <jon@lunarg.com> | 2016-03-22 13:57:46 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-03-22 14:18:54 -0600 |
| commit | 7f4bc2c5a7badb3ddd27b8372fb13e729af919a7 (patch) | |
| tree | 084800e2b7962ab51547ab830a2c926bdd30942a | |
| parent | 6b501fb701599a9748ab3b87b1e64d842e9ac623 (diff) | |
| download | usermoji-7f4bc2c5a7badb3ddd27b8372fb13e729af919a7.tar.xz | |
tests: Use header macro for API version rather than make_version
Change-Id: I454b5d2c4deea46712dff9d5c2af72af683f05a3
| -rw-r--r-- | demos/cube.c | 2 | ||||
| -rw-r--r-- | demos/smoke/Shell.cpp | 2 | ||||
| -rw-r--r-- | demos/tri.c | 2 | ||||
| -rw-r--r-- | demos/vulkaninfo.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/demos/cube.c b/demos/cube.c index 2c5c55a3..c4bcd2f2 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -2268,7 +2268,7 @@ static void demo_init_vk(struct demo *demo) { .applicationVersion = 0, .pEngineName = APP_SHORT_NAME, .engineVersion = 0, - .apiVersion = VK_MAKE_VERSION(1, 0, 0), + .apiVersion = VK_API_VERSION_1_0, }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, diff --git a/demos/smoke/Shell.cpp b/demos/smoke/Shell.cpp index e3fab496..e774e45e 100644 --- a/demos/smoke/Shell.cpp +++ b/demos/smoke/Shell.cpp @@ -185,7 +185,7 @@ void Shell::init_instance() app_info.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; app_info.pApplicationName = settings_.name.c_str(); app_info.applicationVersion = 0; - app_info.apiVersion = VK_MAKE_VERSION(1, 0, 0); + app_info.apiVersion = VK_API_VERSION_1_0; VkInstanceCreateInfo instance_info = {}; instance_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; diff --git a/demos/tri.c b/demos/tri.c index c1a73ed0..c17d668c 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -1869,7 +1869,7 @@ static void demo_init_vk(struct demo *demo) { .applicationVersion = 0, .pEngineName = APP_SHORT_NAME, .engineVersion = 0, - .apiVersion = VK_MAKE_VERSION(1, 0, 0), + .apiVersion = VK_API_VERSION_1_0, }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 5505b878..7fb13f57 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_MAKE_VERSION(1, 0, 0), + .apiVersion = VK_API_VERSION_1_0, }; VkInstanceCreateInfo inst_info = { .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, |
