mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
ecfedf6305
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
19 lines
1 KiB
Diff
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);
|