aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Krönner2019-10-28 13:45:15 +0100
committerGitHub2019-10-28 13:45:15 +0100
commit4f9808bce0d4f3a5e6ff3ba5880749f4d06dd4ba (patch)
tree64fb9a21550f596757d4bd19e49ce75a6b83a6a8 /src
parentbbe7014e2926c6bfdfae20f12048bfe4e951c0e1 (diff)
Fixed second inversion
Diffstat (limited to 'src')
-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 a74050f..cc46a6b 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -258,7 +258,7 @@ void vesa_clear() {
void vesa_draw_char(char ch) {
if (ch >= ' ') {
int pos = terminal_x * vbe_bpl + terminal_y * vbe_pitch;
- int mask[8] = {1, 2, 4, 8, 16, 32, 64, 128};
+ int mask[8] = {128, 64, 32, 16, 8, 4, 2, 1};
unsigned char *glyph = font[ch - 32];
char *draw = (char *) &fb[pos];