aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/drawer.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
committerChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
commit73a80de4228a498b483c8e10ab317920d978d507 (patch)
treeeea73a138a509d7758ef477d4997cf7147233604 /src/graphics/drawer.c
parentc2e52566ed53b53227a6fe577a05170766a1ae4c (diff)
Moved globals to file
Diffstat (limited to 'src/graphics/drawer.c')
-rw-r--r--src/graphics/drawer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/graphics/drawer.c b/src/graphics/drawer.c
index 35aea32..4445919 100644
--- a/src/graphics/drawer.c
+++ b/src/graphics/drawer.c
@@ -1,9 +1,6 @@
#include <graphics/drawer.h>
#include <graphics/lfb.h>
-#define GRAPHICS_DRAWER_C
-struct Drawer g_Drawer = {.x = 0, .y = 0};
-
void write_cchar(struct Drawer* d, char s, unsigned int c)
{
d->x %= GG_MAX_X;