diff --git a/external/imgui/CMakeLists.txt b/external/imgui/CMakeLists.txt index c0ed3633..c837818b 100644 --- a/external/imgui/CMakeLists.txt +++ b/external/imgui/CMakeLists.txt @@ -6,5 +6,4 @@ file(GLOB HEADERS *.h) list(APPEND SOURCES backends/imgui_impl_sdl3.cpp backends/imgui_impl_vulkan.cpp) add_library(imgui ${SOURCES} ${HEADERS}) -target_include_directories(imgui PRIVATE . backends ../SDL/include) -target_compile_definitions(imgui PUBLIC IMGUI_IMPL_VULKAN_USE_VOLK) \ No newline at end of file +target_include_directories(imgui PRIVATE . backends ../SDL/include) \ No newline at end of file diff --git a/external/parallel-rdp/ParallelRDPWrapper.cpp b/external/parallel-rdp/ParallelRDPWrapper.cpp index 83b943f0..60826006 100644 --- a/external/parallel-rdp/ParallelRDPWrapper.cpp +++ b/external/parallel-rdp/ParallelRDPWrapper.cpp @@ -2,6 +2,11 @@ #include #include #include +#include +#include +#include +#include +#include using namespace Vulkan; using namespace RDP; @@ -141,6 +146,8 @@ void ParallelRDP::UpdateScreen(Util::IntrusivePtr image) { cmd->begin_render_pass(wsi->get_device().get_swapchain_render_pass(SwapchainRenderPass::ColorOnly)); DrawFullscreenTexturedQuad(image, cmd); + ImGui::Render(); + ImGui_ImplVulkan_RenderDrawData(ImGui::GetDrawData(), cmd->get_command_buffer()); cmd->end_render_pass(); wsi->get_device().submit(cmd);