From ff91840abbc9ab421c67dc3aca0de42af22d8219 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 28 Oct 2019 01:06:28 +0100 Subject: Added support for more color types (bpp) Somehow the text is inverted and things are strange but the colors may be correct. --- src/kernel/graphics/vesa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/graphics/vesa.h') diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h index 93150d4..f53095d 100644 --- a/src/kernel/graphics/vesa.h +++ b/src/kernel/graphics/vesa.h @@ -171,7 +171,7 @@ enum vesa_color { /** * The default text color */ -uint32_t text_color; +const uint32_t default_text_color; /** * The current input @@ -199,9 +199,9 @@ int vbe_height; int vbe_pitch; /** - * The bytes per pixel (pixel width) of the current video mode + * The bytes per line (pixel width) of the current video mode */ -int vbe_bpp; +int vbe_bpl; /** * The framebuffer interface -- cgit v1.2.3