Reapply "lib/fb: Add preserve_screen option to skip fb_clear on init"

This reverts commit 12841527e9.
This commit is contained in:
Mintsuki
2026-03-30 19:44:19 +02:00
parent a06652f511
commit b29b11ce6d
13 changed files with 33 additions and 20 deletions

View File

@@ -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) {