diff options
Diffstat (limited to 'src/drivers/vesa.c')
-rw-r--r-- | src/drivers/vesa.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |