diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-09 10:57:07 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-09 10:57:07 +1000 |
commit | c950737122cd88e1183896614d4276e219c3c158 (patch) | |
tree | 69b2eaf4ed4e574f92781e335ba1a851180ebe54 /src/core.c | |
parent | 5e0f5662ae65d268db1bf1bc53c773ef9cba33ea (diff) |
stuff
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -53,6 +53,15 @@ core* core_bringup() { return c; } +#include <glfw3.h> +#include "input.h" +#include "render.h" + +bool should_window_close(core *core) { glfwWindowShouldClose(core->renderer.window); } +void core_input_update(core *core) { input_update(&core->input); } +void core_frame_begin(core* core) { render_frame_begin(&core->renderer); } +void core_frame_end(core* core) { render_frame_end(&core->renderer); } + void core_shutdown(core* core) { // threadpool_destroy(&core->threadpool); input_system_shutdown(&core->input); |