summaryrefslogtreecommitdiff
path: root/examples/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graph.c')
-rw-r--r--examples/graph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/graph.c b/examples/graph.c
index f196d3d..c1c84f2 100644
--- a/examples/graph.c
+++ b/examples/graph.c
@@ -371,7 +371,7 @@ i64 drag_x0 = 0;
i64 drag_y0 = 0;
void update_and_render_frame(void) {
- p_wait_events();
+ wait_main_window_events();
// Input events
@@ -520,7 +520,7 @@ void update_and_render_frame(void) {
draw_graph();
- p_render_frame();
+ render_main_window_frame();
}
i32 main(i32 argc, c8 **argv) {
@@ -539,7 +539,7 @@ i32 main(i32 argc, c8 **argv) {
add_edge(0, 2);
add_edge(1, 2);
- p_event_loop();
+ run_main_window_event_loop();
return 0;
}