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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index f3fd865..f6bdba0 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -63,6 +63,9 @@ void set_optimal_resolution() {
struct vbe_info *info;
struct vbe_mode_info *mode_info;
+ // info = lmalloc(sizeof(struct vbe_info));
+ // mode_info = lmalloc(sizeof(struct vbe_mode_info));
+
info->signature[0] = 'V';
info->signature[1] = 'B';
info->signature[2] = 'E';
@@ -96,6 +99,8 @@ void set_optimal_resolution() {
}
}
+ // lfree(info);
+
/*if (strcmp((const char *) info->version, (const char *) 0x300) == 0) {
init();
terminal_write_string("SUCCESS!\n");