imgui: make sure our copy of imgui doesn't clash with others in the same process
[mesa.git] / src / intel / tools / aubinator_viewer.cpp
index 4c11fe4b37dbf45d53c8f054498ca9edc2e56ddb..0c9cb77d7035da3ee7bf62223e5a2f0b08da3f15 100644 (file)
@@ -323,6 +323,8 @@ static struct Context {
    struct window registers_window;
 } context;
 
+thread_local ImGuiContext* __MesaImGui;
+
 static int
 map_key(int k)
 {