Browse Source

Fixed uninitialized variable, amend f3f2578. (#3753)

ocornut 4 years ago
parent
commit
a8d2d8ee97
1 changed files with 1 additions and 0 deletions
  1. 1 0
      imgui_internal.h

+ 1 - 0
imgui_internal.h

@@ -1609,6 +1609,7 @@ struct ImGuiContext
 
         SettingsLoaded = false;
         SettingsDirtyTimer = 0.0f;
+        HookIdNext = 0;
 
         LogEnabled = false;
         LogType = ImGuiLogType_None;