slackbuilds_ponce/games/snes9x/fix-32bit-build.diff
B. Watson ecfedf6305
games/snes9x: Updated for version 1.63.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2024-08-17 18:14:28 +07:00

19 lines
1 KiB
Diff

diff --git a/gtk/src/gtk_display_driver_vulkan.cpp b/gtk/src/gtk_display_driver_vulkan.cpp
index 66e5b164..ce860e4d 100644
--- a/gtk/src/gtk_display_driver_vulkan.cpp
+++ b/gtk/src/gtk_display_driver_vulkan.cpp
@@ -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);