win32: Fix casting for ancient sensitive CI tools.

This commit is contained in:
BearOso 2023-05-04 17:48:35 -05:00
parent bad8cfc209
commit 66df6f4182
1 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@ bool CVulkan::InitImGui()
init_info.Device = context->device;;
init_info.QueueFamily = context->graphics_queue_family_index;
init_info.Queue = context->queue;
init_info.DescriptorPool = imgui_descriptor_pool.get();
init_info.DescriptorPool = (VkDescriptorPool)imgui_descriptor_pool.get();
init_info.Subpass = 0;
init_info.MinImageCount = context->swapchain->get_num_frames();
init_info.ImageCount = context->swapchain->get_num_frames();
init_info.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
ImGui_ImplVulkan_Init(&init_info, context->swapchain->get_render_pass());
ImGui_ImplVulkan_Init(&init_info, (VkRenderPass)context->swapchain->get_render_pass());
auto cmd = context->begin_cmd_buffer();
ImGui_ImplVulkan_CreateFontsTexture(cmd);