From 5860f8c0d690d430424a7b619558024691c71f69 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 26 Jul 2020 16:18:54 +0200 Subject: Added simple keyboard input. This is somewhat of a demo. The real gui will be implemented completely different (ig) --- src/drivers/vesa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers/vesa.c') diff --git a/src/drivers/vesa.c b/src/drivers/vesa.c index 6bafd9e..9402664 100644 --- a/src/drivers/vesa.c +++ b/src/drivers/vesa.c @@ -32,6 +32,8 @@ void vesa_fill(const u32 color[3]) void vesa_init(struct vbe *info) { vbe = info; + vbe_height = vbe->height; + vbe_width = vbe->width; vbe_bpl = vbe->bpp >> 3; vbe_pitch = vbe->pitch; fb = (u8 *)vbe->framebuffer; -- cgit v1.2.3