From 49df3116bc5884f58031fd4bb8653e27e4044c96 Mon Sep 17 00:00:00 2001 From: hunam Date: Fri, 3 Apr 2026 19:38:07 +0300 Subject: [PATCH] Backends: Metal: avoid redundant vertex buffer bind in SetupRenderState. (#9343) --- backends/imgui_impl_metal.mm | 4 ++-- docs/CHANGELOG.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/backends/imgui_impl_metal.mm b/backends/imgui_impl_metal.mm index 0ab182a82..037782bf6 100644 --- a/backends/imgui_impl_metal.mm +++ b/backends/imgui_impl_metal.mm @@ -16,6 +16,7 @@ // CHANGELOG // (minor and older changes stripped away, please see git history for details) +// 2026-04-03: Metal: avoid redundant vertex buffer bind in SetupRenderState. (#9343) // 2026-03-19: Fixed issue in ImGui_ImplMetal_RenderDrawData() if ImTextureID_Invalid is defined to be != 0, which became the default since 2026-03-12. (#9295, #9310) // 2025-09-18: Call platform_io.ClearRendererHandlers() on shutdown. // 2025-06-11: Added support for ImGuiBackendFlags_RendererHasTextures, for dynamic font atlas. Removed ImGui_ImplMetal_CreateFontsTexture() and ImGui_ImplMetal_DestroyFontsTexture(). @@ -215,8 +216,7 @@ static void ImGui_ImplMetal_SetupRenderState(ImDrawData* draw_data, id