diff --git a/src/ImGui.NET.SampleProgram/ImGuiController.cs b/src/ImGui.NET.SampleProgram/ImGuiController.cs index e252352..5eadc54 100644 --- a/src/ImGui.NET.SampleProgram/ImGuiController.cs +++ b/src/ImGui.NET.SampleProgram/ImGuiController.cs @@ -63,6 +63,7 @@ namespace ImGuiNET ImGui.SetCurrentContext(context); IntPtr implotContext = ImPlot.CreateContext(); ImPlot.SetCurrentContext(implotContext); + ImPlot.SetImGuiContext(context); var fonts = ImGui.GetIO().Fonts; ImGui.GetIO().Fonts.AddFontDefault();