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/julia_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/julia_set.c') diff --git a/examples/julia_set.c b/examples/julia_set.c index c7f7e9b..a5b733e 100644 --- a/examples/julia_set.c +++ b/examples/julia_set.c @@ -71,7 +71,7 @@ void update_and_render_frame(void) { for (i32 jj = 0; jj < p; ++jj) for (i32 ii = 0; ii < p; ++ii) - g_platform.pixels[(j + jj) * g_platform.frame_width + (i + ii)] = with_alpha(rgb_f32_from_u32(c), 1.f); + g_platform.pixels[(j + jj) * g_platform.frame_width + (i + ii)] = vec4_from_vec3_f32(rgb_f32_from_u32(c), 1.f); } p_render_frame(); -- cgit v1.2.3