summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 17424b3..ffd72a5 100644
--- a/src/core.c
+++ b/src/core.c
@@ -58,7 +58,7 @@ void core_bringup() {
#include <glfw3.h>
-bool should_window_close(core* core) { glfwWindowShouldClose(core->renderer.window); }
+/* bool should_window_close(core* core) { glfwWindowShouldClose(core->renderer.window); } */
void core_input_update() { input_update(&g_core.input); }
void core_frame_begin(core* core) { render_frame_begin(&core->renderer); }
void core_frame_end(core* core) { render_frame_end(&core->renderer); }
@@ -72,3 +72,7 @@ void core_shutdown() {
bool should_exit() {
return key_just_released(KEYCODE_ESCAPE) || glfwWindowShouldClose(g_core.renderer.window);
}
+
+void frame_begin() { render_frame_begin(&g_core.renderer); }
+void frame_draw() {}
+void frame_end() { render_frame_end(&g_core.renderer); }