|
@@ -1939,6 +1939,7 @@ struct ImGuiContext
|
|
|
bool GcCompactAll; // Request full GC
|
|
|
bool TestEngineHookItems; // Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(), ImGuiTestEngineHook_Log()
|
|
|
void* TestEngine; // Test engine user data
|
|
|
+ char ContextName[16]; // Storage for a context name (to facilitate debugging multi-context setups)
|
|
|
|
|
|
// Inputs
|
|
|
ImVector<ImGuiInputEvent> InputEventsQueue; // Input events which will be trickled/written into IO structure.
|
|
@@ -2266,6 +2267,7 @@ struct ImGuiContext
|
|
|
GcCompactAll = false;
|
|
|
TestEngineHookItems = false;
|
|
|
TestEngine = NULL;
|
|
|
+ memset(ContextName, 0, sizeof(ContextName));
|
|
|
|
|
|
InputEventsNextMouseSource = ImGuiMouseSource_Mouse;
|
|
|
InputEventsNextEventId = 1;
|