summaryrefslogtreecommitdiff
path: root/stage3/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/gfx.h')
-rw-r--r--stage3/gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stage3/gfx.h b/stage3/gfx.h
index 47e98db..6eee074 100644
--- a/stage3/gfx.h
+++ b/stage3/gfx.h
@@ -10,12 +10,13 @@ extern struct __attribute__((packed)) GfxInfo {
u32 framebuffer;
} *gfx_info;
-typedef struct {
+typedef struct __attribute__((packed)) {
u8 r, g, b, a;
} color;
u32 make_color(color col);
void gfx_set_pixel(u16 x, u16 y, u32 col);
void gfx_set_area(u16 x, u16 y, u16 w, u16 h, u32 col);
+void gfx_draw_img(u16 x, u16 y, u16 w, u16 h, color *img);
#endif