mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
BXVGADevice: Log a debug message whenever the resolution changes
Fixes #618.
This commit is contained in:
parent
da463d9b11
commit
345086ab72
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ void BXVGADevice::set_resolution(int width, int height)
|
|||
set_register(VBE_DISPI_INDEX_BPP, 32);
|
||||
set_register(VBE_DISPI_INDEX_ENABLE, VBE_DISPI_ENABLED | VBE_DISPI_LFB_ENABLED);
|
||||
set_register(VBE_DISPI_INDEX_BANK, 0);
|
||||
|
||||
dbg() << "BXVGADevice resolution set to " << m_framebuffer_width << "x" << m_framebuffer_height << " (pitch=" << m_framebuffer_pitch << ")";
|
||||
}
|
||||
|
||||
void BXVGADevice::set_y_offset(int y_offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue