summaryrefslogtreecommitdiff
path: root/examples/obj_loading
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 12:34:00 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 12:34:00 +1000
commit1fc69f183bf8f105048b9d47e096ccd402107bbb (patch)
treebe3060a80d6ace90e911aea234993f847d31cd24 /examples/obj_loading
parent6585326fe177a0dc710ef6624a301a36db992e96 (diff)
misc cleanup
Diffstat (limited to 'examples/obj_loading')
-rw-r--r--examples/obj_loading/ex_obj_loading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/obj_loading/ex_obj_loading.c b/examples/obj_loading/ex_obj_loading.c
index aaed2a0..906816b 100644
--- a/examples/obj_loading/ex_obj_loading.c
+++ b/examples/obj_loading/ex_obj_loading.c
@@ -55,7 +55,7 @@ int main() {
memcpy(&our_scene.point_lights, &point_lights, sizeof(point_light[4]));
// --- Enter Main loop
- while (!glfwWindowShouldClose(core->renderer.window)) {
+ while (!should_exit(core)) {
input_update(&core->input);
threadpool_process_results(&core->threadpool, 1);