diff options
author | Lars Krönner | 2019-10-28 13:45:15 +0100 |
---|---|---|
committer | GitHub | 2019-10-28 13:45:15 +0100 |
commit | 4f9808bce0d4f3a5e6ff3ba5880749f4d06dd4ba (patch) | |
tree | 64fb9a21550f596757d4bd19e49ce75a6b83a6a8 /src/kernel/graphics/vesa.c | |
parent | bbe7014e2926c6bfdfae20f12048bfe4e951c0e1 (diff) |
Fixed second inversion
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r-- | src/kernel/graphics/vesa.c | 2 |
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]; |