Gtk: Fix build on 32-bits systems.

This commit is contained in:
Lucas Gabriel Vuotto 2024-07-28 20:52:20 +00:00
parent 8a9b8cfcfd
commit bff02194a7
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);