summaryrefslogtreecommitdiff
path: root/examples/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graph.c')
-rw-r--r--examples/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph.c b/examples/graph.c
index 99f916d..f196d3d 100644
--- a/examples/graph.c
+++ b/examples/graph.c
@@ -502,7 +502,7 @@ void update_and_render_frame(void) {
// Render
- fill_rectangle((Brush) { .color = { .7f, .8f, .9f, 1.f } }, 0, 0, g_platform.frame_width, g_platform.frame_height);
+ fill_rectangle((Brush) { .color = { .7f, .8f, .9f, 1.f } }, 0, 0, g_platform.real_width, g_platform.real_height);
if (adding_edge) {
f64 x0 = world.nodes[adding_src].x;