Merge pull request #940 from lgv5/master

Gtk: Fix build on 32-bits systems.
This commit is contained in:
bearoso 2024-07-28 17:34:35 -05:00 committed by GitHub
commit 4a20cfc024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -66,12 +66,12 @@ bool S9xVulkanDisplayDriver::init_imgui()
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 = static_cast<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, static_cast<VkRenderPass>(context->swapchain->get_render_pass()));
auto cmd = context->begin_cmd_buffer();
ImGui_ImplVulkan_CreateFontsTexture(cmd);