aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 23:33:34 +0200
committerMarvin Borner2020-04-28 23:33:34 +0200
commit34c752f6fe4f71169172f1b3e46b1eddf69eba6e (patch)
treec9acf3f6cac1791861d3506c4fe6f2c1dfedeae5 /src/kernel/graphics/vesa.c
parent5f8b5ce7efb7738eaebad43f9648975788ae19ff (diff)
Added support for multiple user applications
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r--src/kernel/graphics/vesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index 43b0799..898a0f3 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -122,6 +122,8 @@ void set_optimal_resolution()
if (mode_info->width > vbe_width ||
(mode_info->width == vbe_width && (mode_info->bpp >> 3) > vbe_bpl)) {
// if (mode_info->bpp == 32) { // Force specific bpp for debugging
+ debug("Found mode: %dx%dx%d", mode_info->width, mode_info->height,
+ mode_info->bpp);
highest = *mode;
vbe_width = mode_info->width;
vbe_height = mode_info->height;