From 8a2382793367277d07485d6120b706baa36e26ce Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 16 Feb 2025 20:16:27 -0500 Subject: remove unused global variables --- main.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/main.c b/main.c index 3ee7379..be0708e 100644 --- a/main.c +++ b/main.c @@ -64,13 +64,6 @@ static void render(mu_Context *ctx); static void render_command(mu_Command *cmd); -/* Global variables. */ - -static char logbuf[64000]; -static int logbuf_updated = 0; -static float bg[3] = {90, 95, 100}; - - /* Function Definitions. */ int @@ -209,7 +202,7 @@ main_window(mu_Context *ctx, UI *ui) { static void render(mu_Context *ctx) { - r_clear(mu_color(bg[0], bg[1], bg[2], 255)); + r_clear(COLOR_WINDOWBG); mu_Command *cmd = NULL; while (mu_next_command(ctx, &cmd)) { render_command(cmd); -- cgit v1.2.3