aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics
diff options
context:
space:
mode:
authorMarvin Borner2019-11-23 12:55:59 +0100
committerMarvin Borner2019-11-23 12:55:59 +0100
commit9702485247be55f092080a38e3fe3417ee6e6df3 (patch)
tree20d30dcd756232270beda490946be9e17f7d4e17 /src/kernel/graphics
parent945d1c9eb7a6520429ebf2f988ac6cc1d12ec75d (diff)
Fixed vesa, acpi and installation!
Diffstat (limited to 'src/kernel/graphics')
-rw-r--r--src/kernel/graphics/vesa.c2
1 files changed, 1 insertions, 1 deletions
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;
}