mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 21:56:36 +00:00
Use VK_API_VERSION_1_0 to make the Vulkan example build again.
This commit is contained in:
parent
3b0b5dacf5
commit
bc636e5ea9
@ -1778,7 +1778,7 @@ static void demo_init_vk(struct demo *demo) {
|
|||||||
.applicationVersion = 0,
|
.applicationVersion = 0,
|
||||||
.pEngineName = APP_SHORT_NAME,
|
.pEngineName = APP_SHORT_NAME,
|
||||||
.engineVersion = 0,
|
.engineVersion = 0,
|
||||||
.apiVersion = VK_API_VERSION,
|
.apiVersion = VK_API_VERSION_1_0,
|
||||||
};
|
};
|
||||||
VkInstanceCreateInfo inst_info = {
|
VkInstanceCreateInfo inst_info = {
|
||||||
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
|
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
|
||||||
|
Loading…
Reference in New Issue
Block a user