diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-02-16 20:16:27 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-02-16 20:16:27 -0500 |
| commit | 8a2382793367277d07485d6120b706baa36e26ce (patch) | |
| tree | c7c110e25068dd4cf3874d252539b87ced047693 | |
| parent | 79f2876eeef230781aa7ea67dc8e2bc3d6c0db60 (diff) | |
| download | volute-8a2382793367277d07485d6120b706baa36e26ce.zip | |
remove unused global variables
| -rw-r--r-- | main.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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); |