Browse Source

win-capture: Restore Vulkan 1.1 version hack

jpark37 5 years ago
parent
commit
4f4fc3bfe6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/win-capture/graphics-hook/vulkan-capture.c

+ 2 - 0
plugins/win-capture/graphics-hook/vulkan-capture.c

@@ -1047,6 +1047,8 @@ static VkResult VKAPI OBS_CreateInstance(const VkInstanceCreateInfo *cinfo,
 		ai.apiVersion = VK_API_VERSION_1_1;
 	}
 
+	info.pApplicationInfo = &ai;
+
 	/* -------------------------------------------------------- */
 	/* create instance                                          */