From e526d572c27a2c58be75d9c60e343b8d930e7f72 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Sun, 21 Sep 2025 14:50:35 +0200 Subject: [PATCH] Update ImGui to 1.92.3 --- CMakeLists.txt | 4 ++-- client/render/imgui_impl.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f651add3..ebc88505 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,8 +235,8 @@ FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.co FetchContent_Declare(implot EXCLUDE_FROM_ALL SYSTEM URL https://github.com/epezent/implot/archive/3da8bd34299965d3b0ab124df743fe3e076fa222.zip URL_HASH SHA256=e9b439a94aa6f09fcf12ed9c2cd784efe5e99e96242122aa683e690b29f7a59f) file(GLOB IMGUI_PATCHES CONFIGURE_DEPENDS patches/imgui/*) -FetchContent_Declare(imgui EXCLUDE_FROM_ALL SYSTEM URL https://github.com/ocornut/imgui/archive/refs/tags/v1.92.1.tar.gz - URL_HASH SHA256=32c237c2abf67a2ffccaac17192f711d4a787554b4133187a153d49057d6109c +FetchContent_Declare(imgui EXCLUDE_FROM_ALL SYSTEM URL https://github.com/ocornut/imgui/archive/refs/tags/v1.92.3.tar.gz + URL_HASH SHA256=9212ee7c4718b1466a5d99e64bce3ef1965704afea4ba651f8d978d0791b7c7c PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${IMGUI_PATCHES} ) FetchContent_Declare(uni-algo EXCLUDE_FROM_ALL SYSTEM URL https://github.com/uni-algo/uni-algo/archive/v1.2.0.tar.gz diff --git a/client/render/imgui_impl.cpp b/client/render/imgui_impl.cpp index b3f22c2f..017a9d06 100644 --- a/client/render/imgui_impl.cpp +++ b/client/render/imgui_impl.cpp @@ -361,13 +361,13 @@ imgui_context::imgui_context( .Device = *device, .QueueFamily = queue_family_index, .Queue = *queue.get_unsafe(), - .RenderPass = *renderpass, + .DescriptorPoolSize = 100, .MinImageCount = 2, .ImageCount = (uint32_t)swapchain.images().size(), // used to cycle between VkBuffers in ImGui_ImplVulkan_RenderDrawData - .MSAASamples = VK_SAMPLE_COUNT_1_BIT, .PipelineCache = *application::get_pipeline_cache(), + .RenderPass = *renderpass, .Subpass = 0, - .DescriptorPoolSize = 100, + .MSAASamples = VK_SAMPLE_COUNT_1_BIT, .Allocator = nullptr, .CheckVkResultFn = check_vk_result, };