Example #1
0
 public override void OnDetach()
 {
     ImGui.DestroyPlatformWindows();
     //ImGui.*DestroyContext*(ImGuiContext); // this somehow destroys to much
     ImGuiContext = IntPtr.Zero;
     Log.Core.Info("ImGui context destroyed");
     ImGuiController.ImGui_ImplOpenGL3_Shutdown();
     ImGuiController.ImGui_ImplGlfw_Shutdown();
 }