aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r--src/kernel/graphics/vesa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index da57da1..45a68d9 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -181,8 +181,9 @@ void set_optimal_resolution()
// Everything else failed :(
if (highest == 0)
switch_to_vga();
- } else
+ } else {
vga_log("Mode detection succeeded");
+ }
vbe_set_mode(highest);
@@ -193,7 +194,6 @@ void set_optimal_resolution()
paging_map((uint32_t)cursor_buffer + z, (uint32_t)cursor_buffer + z,
PT_PRESENT | PT_RW | PT_USED);
}
- serial_printf("0x%x", fb);
if (vbe_height > 1440)
vesa_set_font(32);
@@ -375,4 +375,4 @@ void vesa_set_color(uint32_t color)
{
vesa_convert_color(terminal_color, color);
vesa_convert_color(terminal_background, default_background_color);
-} \ No newline at end of file
+}