Reapply "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 12841527e9.
This commit is contained in:
@@ -245,7 +245,7 @@ static void prepare_efi_tables(struct boot_param *p, char *config) {
|
||||
|
||||
term_notready();
|
||||
|
||||
fb_init(&fbs, &fbs_count, req_width, req_height, req_bpp);
|
||||
fb_init(&fbs, &fbs_count, req_width, req_height, req_bpp, false);
|
||||
|
||||
// TODO(qookie): Let the user pick a framebuffer if there's > 1
|
||||
if (fbs_count > 0) {
|
||||
|
||||
Reference in New Issue
Block a user