From 39aad7f9ca931342f58bf638b5aadd1923db0f50 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 16 Jan 2025 19:09:09 +0100 Subject: Graphics fixes --- examples/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/graph.c') 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; -- cgit v1.2.3