diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-08 11:56:25 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-08 11:56:25 +1000 |
commit | f1b48b0bbbebb92b9600dac41848304b82f0b3dd (patch) | |
tree | 1a66c0ec7c3c1311b8e6f895ac4b504ef6adc894 /examples/triangle | |
parent | f05ce66a8e6fd0742a8314661a8dc871a5a2c0c3 (diff) |
we are so triangle
Diffstat (limited to 'examples/triangle')
-rw-r--r-- | examples/triangle/ex_triangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triangle/ex_triangle.c b/examples/triangle/ex_triangle.c index 50f135a..4aa9e96 100644 --- a/examples/triangle/ex_triangle.c +++ b/examples/triangle/ex_triangle.c @@ -45,6 +45,7 @@ int main() { // Main loop while (!should_exit(core)) { + glfwPollEvents(); input_update(&core->input); render_frame_begin(&core->renderer); @@ -72,8 +73,7 @@ int main() { gpu_backend_end_frame(); render_frame_end(&core->renderer); - glfwSwapBuffers(core->renderer.window); - glfwPollEvents(); + // glfwSwapBuffers(core->renderer.window); } gpu_backend_shutdown(); |