diff options
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); |