From 9702485247be55f092080a38e3fe3417ee6e6df3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 23 Nov 2019 12:55:59 +0100 Subject: Fixed vesa, acpi and installation! --- src/kernel/graphics/vesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/graphics/vesa.c') diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index becc5ff..6193401 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -268,7 +268,7 @@ void vesa_draw_rectangle(int x1, int y1, int x2, int y2, const uint32_t color[3] } void vesa_clear() { - vesa_draw_rectangle(0, 0, vbe_width, vbe_height, terminal_background); + vesa_draw_rectangle(0, 0, vbe_width - 1, vbe_height - 1, terminal_background); terminal_x = 0; terminal_y = 0; } -- cgit v1.2.3