summaryrefslogtreecommitdiff
path: root/examples/main_loop/ex_main_loop.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-04-28 09:14:22 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-04-28 09:14:22 +1000
commit411520b240446f878a27c5d89812000774cc3c15 (patch)
tree989f442fdffcc85e45f665f8f22102fe6f6bae19 /examples/main_loop/ex_main_loop.c
parentefea29ed9059303a5bb609ba0ce79c20ba894a23 (diff)
getting vulkan working on windows
Diffstat (limited to 'examples/main_loop/ex_main_loop.c')
-rw-r--r--examples/main_loop/ex_main_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/main_loop/ex_main_loop.c b/examples/main_loop/ex_main_loop.c
index 4e1f6a9..4e31313 100644
--- a/examples/main_loop/ex_main_loop.c
+++ b/examples/main_loop/ex_main_loop.c
@@ -26,6 +26,8 @@ int main() {
// insert work here
render_frame_end(&core->renderer);
+ glfwSwapBuffers(core->renderer.window);
+ glfwPollEvents();
}
return 0;