diff options
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 |