diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-01-16 19:09:09 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-01-16 19:09:09 +0100 |
commit | 39aad7f9ca931342f58bf638b5aadd1923db0f50 (patch) | |
tree | 14c39e0a532d60a48227c7b2c023c13004620960 /examples/julia_set.c | |
parent | 6f72e6bea5d3c18f342a3c460d4ae8a4a776b659 (diff) | |
download | reduced_system_layer-39aad7f9ca931342f58bf638b5aadd1923db0f50.zip |
Graphics fixes
Diffstat (limited to 'examples/julia_set.c')
-rw-r--r-- | examples/julia_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |