aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-16 20:16:27 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-16 20:16:27 -0500
commit8a2382793367277d07485d6120b706baa36e26ce (patch)
treec7c110e25068dd4cf3874d252539b87ced047693
parent79f2876eeef230781aa7ea67dc8e2bc3d6c0db60 (diff)
downloadvolute-8a2382793367277d07485d6120b706baa36e26ce.zip
remove unused global variables
-rw-r--r--main.c9
1 files changed, 1 insertions, 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);