diff options
author | Marvin Borner | 2019-10-28 01:06:28 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-28 01:06:28 +0100 |
commit | ff91840abbc9ab421c67dc3aca0de42af22d8219 (patch) | |
tree | 2e26e7e67154fbbfccfb9f75af8d4cc21086d420 /src/kernel/graphics/vesa.h | |
parent | 4aa421786c86f0e50ebcc881fb87580e589fc451 (diff) |
Added support for more color types (bpp)
Somehow the text is inverted and things are strange but the colors may be correct.
Diffstat (limited to 'src/kernel/graphics/vesa.h')
-rw-r--r-- | src/kernel/graphics/vesa.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |