diff options
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/core/core.c b/src/core/core.c index a46e395..44db7b1 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -74,12 +74,10 @@ void Frame_Begin() { void Frame_Draw() {} void Frame_End() { Render_FrameEnd(g_core.renderer); } -Core* get_global_core() { - return &g_core; -} +Core* get_global_core() { return &g_core; } -GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { - return g_core.window; -} +GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { return g_core.window; } -struct Renderer* Core_GetRenderer(Core* core) { return core->renderer; }
\ No newline at end of file +struct Renderer* Core_GetRenderer(Core* core) { + return core->renderer; +}
\ No newline at end of file |