mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 06:39:07 +00:00
Kernel/Graphics: Fix comparison of framebuffer type in initialization
This commit is contained in:
parent
3bd0106755
commit
5824f30752
Notes:
sideshowbarker
2024-07-17 09:28:18 +09:00
Author: https://github.com/supercomputer7
Commit: 5824f30752
Pull-request: https://github.com/SerenityOS/serenity/pull/14520
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ UNMAP_AFTER_INIT bool GraphicsManagement::initialize()
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (graphics_subsystem_mode == CommandLine::GraphicsSubsystemMode::Limited && !multiboot_framebuffer_addr.is_null() && multiboot_framebuffer_type != MULTIBOOT_FRAMEBUFFER_TYPE_RGB) {
|
if (graphics_subsystem_mode == CommandLine::GraphicsSubsystemMode::Limited && !multiboot_framebuffer_addr.is_null() && multiboot_framebuffer_type == MULTIBOOT_FRAMEBUFFER_TYPE_RGB) {
|
||||||
initialize_preset_resolution_generic_display_connector();
|
initialize_preset_resolution_generic_display_connector();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue