mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Fix build on 32-bits systems.
This commit is contained in:
parent
8a9b8cfcfd
commit
bff02194a7
|
@ -66,12 +66,12 @@ bool S9xVulkanDisplayDriver::init_imgui()
|
||||||
init_info.Device = context->device;;
|
init_info.Device = context->device;;
|
||||||
init_info.QueueFamily = context->graphics_queue_family_index;
|
init_info.QueueFamily = context->graphics_queue_family_index;
|
||||||
init_info.Queue = context->queue;
|
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.Subpass = 0;
|
||||||
init_info.MinImageCount = context->swapchain->get_num_frames();
|
init_info.MinImageCount = context->swapchain->get_num_frames();
|
||||||
init_info.ImageCount = context->swapchain->get_num_frames();
|
init_info.ImageCount = context->swapchain->get_num_frames();
|
||||||
init_info.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
|
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();
|
auto cmd = context->begin_cmd_buffer();
|
||||||
ImGui_ImplVulkan_CreateFontsTexture(cmd);
|
ImGui_ImplVulkan_CreateFontsTexture(cmd);
|
||||||
|
|
Loading…
Reference in New Issue