Require explicit ImGui text atlas context

This commit is contained in:
2026-04-05 13:26:32 +08:00
parent f943a07862
commit 8c238400a8

View File

@@ -215,7 +215,7 @@ bool ImGuiTextAtlasProvider::FindGlyph(
} }
::ImGuiContext* ImGuiTextAtlasProvider::ResolveContext() const { ::ImGuiContext* ImGuiTextAtlasProvider::ResolveContext() const {
return m_context != nullptr ? m_context : ImGui::GetCurrentContext(); return m_context;
} }
} // namespace XCUIBackend } // namespace XCUIBackend