diff --git a/new_editor/src/XCUIBackend/ImGuiTextAtlasProvider.cpp b/new_editor/src/XCUIBackend/ImGuiTextAtlasProvider.cpp index c754d1dc..7ac0becd 100644 --- a/new_editor/src/XCUIBackend/ImGuiTextAtlasProvider.cpp +++ b/new_editor/src/XCUIBackend/ImGuiTextAtlasProvider.cpp @@ -215,7 +215,7 @@ bool ImGuiTextAtlasProvider::FindGlyph( } ::ImGuiContext* ImGuiTextAtlasProvider::ResolveContext() const { - return m_context != nullptr ? m_context : ImGui::GetCurrentContext(); + return m_context; } } // namespace XCUIBackend