summaryrefslogtreecommitdiff
path: root/src/modules/sparkler
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-02-03 15:46:08 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2017-02-03 15:46:08 -0800
commitf21492a1e8314e27ef307bc4b2629468d40e6c72 (patch)
tree59584ae1f0538c7052a9795252bdfd747aee7b0a /src/modules/sparkler
parent90fde2df2d8c59b0b885e6e02b5e89dbe966a5e9 (diff)
sparkler: drop draw.h
Diffstat (limited to 'src/modules/sparkler')
-rw-r--r--src/modules/sparkler/draw.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/modules/sparkler/draw.h b/src/modules/sparkler/draw.h
deleted file mode 100644
index 10701e0..0000000
--- a/src/modules/sparkler/draw.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _DRAW_H
-#define _DRAW_H
-
-#include <stdint.h>
-
-#include "fb.h"
-
-
-static inline void draw_pixel(fb_fragment_t *f, int x, int y, uint32_t pixel)
-{
- uint32_t *pixels = f->buf;
-
- /* FIXME this assumes stride is aligned to 4 */
- pixels[(y * (f->width + (f->stride >> 2))) + x] = pixel;
-}
-
-#endif
© All Rights Reserved