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,