mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Fix uses of deprecated Vulkan symbol
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user