1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Examples: Vulkan: make ApiVersion a little more visible in examples. (#8326, #8365)

This commit is contained in:
ocornut 2025-02-13 15:49:47 +01:00
parent 890ead6a71
commit 12963f5231
5 changed files with 5 additions and 1 deletions

View file

@ -387,6 +387,7 @@ int main(int, char**)
// Setup Platform/Renderer backends
ImGui_ImplWin32_Init(hwnd);
ImGui_ImplVulkan_InitInfo init_info = {};
//init_info.ApiVersion = VK_API_VERSION_1_3; // Pass in your value of VkApplicationInfo::apiVersion, otherwise will default to header version.
init_info.Instance = g_Instance;
init_info.PhysicalDevice = g_PhysicalDevice;
init_info.Device = g_Device;