diff --git a/NResUI/App.cs b/NResUI/App.cs index e5b6516..aedf80f 100644 --- a/NResUI/App.cs +++ b/NResUI/App.cs @@ -110,8 +110,8 @@ public class App imGuiPanel.OnImGuiRender(); } - ImGui.ShowMetricsWindow(); - ImGui.ShowDemoWindow(); + // ImGui.ShowMetricsWindow(); + // ImGui.ShowDemoWindow(); ImGui.PopFont(); diff --git a/NResUI/Program.cs b/NResUI/Program.cs index 55d1c9f..bd0e5f3 100644 --- a/NResUI/Program.cs +++ b/NResUI/Program.cs @@ -15,6 +15,8 @@ ImGuiController controller = null!; GL gl = null!; IInputContext inputContext = null!; +window.IsEventDriven = true; + var app = new App(); // Our loading function