1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:35:07 +00:00

Kernel/Graphics: Fix a method to be more accurate about its name

This commit is contained in:
Liav A 2021-05-16 21:03:33 +03:00 committed by Linus Groh
parent cfdd231a4d
commit 58d7eb36ad
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ UNMAP_AFTER_INIT void FramebufferDevice::initialize()
}
UNMAP_AFTER_INIT FramebufferDevice::FramebufferDevice(PhysicalAddress addr, size_t pitch, size_t width, size_t height)
: BlockDevice(29, GraphicsManagement::the().current_minor_number())
: BlockDevice(29, GraphicsManagement::the().allocate_minor_device_number())
, m_framebuffer_address(addr)
, m_framebuffer_pitch(pitch)
, m_framebuffer_width(width)