diff options
author | June McEnroe <programble@gmail.com> | 2018-02-01 00:14:58 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-02-01 00:14:58 -0500 |
commit | ce4c80f4da6472d7bc53ee3b3e04fb404562a30d (patch) | |
tree | 6ce58f709ac50b49f75521a4a55a0a0813810dd2 /bin/color.c | |
parent | Add gfxx (diff) | |
download | src-ce4c80f4da6472d7bc53ee3b3e04fb404562a30d.tar.gz src-ce4c80f4da6472d7bc53ee3b3e04fb404562a30d.zip |
Remove fb.c and color.c
Diffstat (limited to 'bin/color.c')
-rw-r--r-- | bin/color.c | 16 |
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); -} |