From f083cacb259054ce996b70f8b9dc0d9eb0bdbfb8 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Fri, 26 Jul 2024 16:37:53 +1000 Subject: wip egui --- src/core/core.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/core/core.c') diff --git a/src/core/core.c b/src/core/core.c index d508de8..a46e395 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -68,10 +68,18 @@ bool ShouldExit() { } void Frame_Begin() { - Input_Update(&g_core.input); + // Input_Update(&g_core.input); Render_FrameBegin(g_core.renderer); } void Frame_Draw() {} void Frame_End() { Render_FrameEnd(g_core.renderer); } +Core* get_global_core() { + return &g_core; +} + +GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { + return g_core.window; +} + struct Renderer* Core_GetRenderer(Core* core) { return core->renderer; } \ No newline at end of file -- cgit v1.2.3-70-g09d2