From c26102722524146d5dae0ff690171eee2cb3db37 Mon Sep 17 00:00:00 2001 From: "Herman S." <429230+has207@users.noreply.github.com> Date: Thu, 29 Jan 2026 15:27:51 +0900 Subject: [PATCH] [UI] Fix leaked locked_achievement_icon_ texture on drawer teardown Reset locked_achievement_icon_ alongside font_texture_ and notification_icon_textures_ when the immediate drawer is cleared, preventing a debug assertion in D3D12ImmediateDrawer's destructor. --- src/xenia/ui/imgui_drawer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/imgui_drawer.cc b/src/xenia/ui/imgui_drawer.cc index 6aa3e1326..385963af4 100644 --- a/src/xenia/ui/imgui_drawer.cc +++ b/src/xenia/ui/imgui_drawer.cc @@ -564,7 +564,7 @@ void ImGuiDrawer::SetImmediateDrawer(ImmediateDrawer* new_immediate_drawer) { if (immediate_drawer_) { GetIO().Fonts->TexID = reinterpret_cast(nullptr); font_texture_.reset(); - + locked_achievement_icon_.reset(); notification_icon_textures_.clear(); } immediate_drawer_ = new_immediate_drawer;