summary refs log tree commit diff
path: root/bin/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/color.c')
-rw-r--r--bin/color.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/color.c b/bin/color.c
deleted file mode 100644
index 75118226..00000000
--- a/bin/color.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdint.h>
-
-static uint32_t color;
-
-void init() {
-}
-
-void draw(uint32_t *buf, uint32_t xres, uint32_t yres) {
-    for (uint32_t i = 0; i < xres * yres; ++i) {
-        buf[i] = color;
-    }
-}
-
-void input(char c) {
-    color = color << 4 | (c & 0xF);
-}