imgui: make sure our copy of imgui doesn't clash with others in the same process
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> +1-by: Mike Lothian <mike@fireburn.co.uk> +1-by: Tapani Pälli <tapani.palli@intel.com> +1-by: Eric Engestrom <eric.engestrom@intel.com> +1-by: Yurii Kolesnykov <root@yurikoles.com> +1-by: myfreeweb <greg@unrelenting.technology> +1-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -323,6 +323,8 @@ static struct Context {
|
||||
struct window registers_window;
|
||||
} context;
|
||||
|
||||
thread_local ImGuiContext* __MesaImGui;
|
||||
|
||||
static int
|
||||
map_key(int k)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user