summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/GraphicsManagement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/GraphicsManagement.cpp')
-rw-r--r--Kernel/Graphics/GraphicsManagement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp
index 0c5ad939bd..c056cfd164 100644
--- a/Kernel/Graphics/GraphicsManagement.cpp
+++ b/Kernel/Graphics/GraphicsManagement.cpp
@@ -66,9 +66,9 @@ UNMAP_AFTER_INIT RefPtr<GraphicsDevice> GraphicsManagement::determine_graphics_d
dmesgln("Graphics: Using a preset resolution from the bootloader");
return VGACompatibleAdapter::initialize_with_preset_resolution(address,
PhysicalAddress((u32)(multiboot_info_ptr->framebuffer_addr)),
- multiboot_info_ptr->framebuffer_pitch,
multiboot_info_ptr->framebuffer_width,
- multiboot_info_ptr->framebuffer_height);
+ multiboot_info_ptr->framebuffer_height,
+ multiboot_info_ptr->framebuffer_pitch);
}
return VGACompatibleAdapter::initialize(address);
}