Skip to content

Commit 7b26ec8

Browse files
committed
Setting ImGuiContext for ImPlot
1 parent 3c14895 commit 7b26ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImGui.NET.SampleProgram/ImGuiController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public ImGuiController(GraphicsDevice gd, OutputDescription outputDescription, i
6363
ImGui.SetCurrentContext(context);
6464
IntPtr implotContext = ImPlot.CreateContext();
6565
ImPlot.SetCurrentContext(implotContext);
66+
ImPlot.SetImGuiContext(context);
6667
var fonts = ImGui.GetIO().Fonts;
6768
ImGui.GetIO().Fonts.AddFontDefault();
6869

0 commit comments

Comments
 (0)