From 0c7a2228b73f48ce58159af77fdf55cf9c682422 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 22 May 2025 12:34:20 +0200 Subject: Add some default background --- src/main/engine/engine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/engine/engine.h') diff --git a/src/main/engine/engine.h b/src/main/engine/engine.h index 1e26f05..b70c8c2 100644 --- a/src/main/engine/engine.h +++ b/src/main/engine/engine.h @@ -39,6 +39,7 @@ typedef struct { Engine *engine_new(int width, int height); void engine_set_rendering_background(Engine *engine, float r, float g, float b, float a); +void engine_set_rendering_background_c(Engine *engine, Color *color); void engine_draw_circle(float cx, float cy, float r, int num_segments, int outline); void engine_draw_line(float x1, float y1, float x2, float y2); void engine_loop(void); -- cgit v1.2.3