Require explicit ImGui text atlas context
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user