From 5824f30752b55c54ef4aac35436b89f1b2e6aa21 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 9 Jul 2022 09:11:03 +0300 Subject: [PATCH] Kernel/Graphics: Fix comparison of framebuffer type in initialization --- Kernel/Graphics/GraphicsManagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp index a1e4d230e8..efc0e9a603 100644 --- a/Kernel/Graphics/GraphicsManagement.cpp +++ b/Kernel/Graphics/GraphicsManagement.cpp @@ -227,7 +227,7 @@ UNMAP_AFTER_INIT bool GraphicsManagement::initialize() 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(); return true; }