MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / SetCurrentContext

Method SetCurrentContext

include/imgui/imgui.cpp:4072–4079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4070}
4071
4072void ImGui::SetCurrentContext(ImGuiContext* ctx)
4073{
4074#ifdef IMGUI_SET_CURRENT_CONTEXT_FUNC
4075 IMGUI_SET_CURRENT_CONTEXT_FUNC(ctx); // For custom thread-based hackery you may want to have control over this.
4076#else
4077 GImGui = ctx;
4078#endif
4079}
4080
4081void ImGui::SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data)
4082{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected