summaryrefslogtreecommitdiff
path: root/stage3/gfx.c
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 01:54:39 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 02:11:32 +0100
commit6d263c7d4e0f4b1d34694b5d3d159ccb20b3db02 (patch)
tree41578268cf68b2d9ea1737687a0f98af979948d8 /stage3/gfx.c
parent5881b4d5c1040c762599f90e091e4cc4c3abe6b1 (diff)
downloadcuddles-6d263c7d4e0f4b1d34694b5d3d159ccb20b3db02.tar.xz
keyboard driver and threads
* PS/2 keyboard driver * interactive shell * move away from \0 terminated strings to sized slices * coroutine threads and IRQ queues
Diffstat (limited to 'stage3/gfx.c')
-rw-r--r--stage3/gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage3/gfx.c b/stage3/gfx.c
index 79c76a3..b01e89a 100644
--- a/stage3/gfx.c
+++ b/stage3/gfx.c
@@ -32,7 +32,7 @@ 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)
+void gfx_draw_img(u16 x, u16 y, u16 w, u16 h, u32 *img)
{
void *cbeg = (void *) (u64) (gfx_info->framebuffer + y * gfx_info->pitch + x * sizeof(color));
for (u16 yi = 0; yi < h; cbeg += gfx_info->pitch, yi++)