diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-21 12:34:00 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-21 12:34:00 +1000 |
commit | 1fc69f183bf8f105048b9d47e096ccd402107bbb (patch) | |
tree | be3060a80d6ace90e911aea234993f847d31cd24 /examples/gltf_loading | |
parent | 6585326fe177a0dc710ef6624a301a36db992e96 (diff) |
misc cleanup
Diffstat (limited to 'examples/gltf_loading')
-rw-r--r-- | examples/gltf_loading/ex_gltf_loading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gltf_loading/ex_gltf_loading.c b/examples/gltf_loading/ex_gltf_loading.c index b181426..900cf1b 100644 --- a/examples/gltf_loading/ex_gltf_loading.c +++ b/examples/gltf_loading/ex_gltf_loading.c @@ -56,7 +56,7 @@ int main() { scene our_scene = { .dir_light = dir_light, .n_point_lights = 4 }; memcpy(&our_scene.point_lights, &point_lights, sizeof(point_light[4])); - while (!glfwWindowShouldClose(core->renderer.window)) { + while (!should_exit(core)) { currentFrame = glfwGetTime(); deltaTime = currentFrame - lastFrame; lastFrame = currentFrame; |