Fixed double ImGuiLayer

This commit is contained in:
Simon Lübeß
2020-11-17 11:58:46 +01:00
parent 9b2d32d43b
commit 6211655041
5 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ namespace GlitchyEngine
_window.EventCallback = new => OnEvent;
_imGuiLayer = new ImGuiLayer();
PushLayer(_imGuiLayer);
PushOverlay(_imGuiLayer);
}
public void OnEvent(Event e)