1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

BXVGADevice: Log a debug message whenever the resolution changes

Fixes #618.
This commit is contained in:
Andreas Kling 2019-10-02 17:16:46 +02:00
parent da463d9b11
commit 345086ab72

View file

@ -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)