mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 01:15:07 +00:00
Kernel/Graphics: Allow Intel DisplayConnector to not have console
This commit is contained in:
parent
016fedbd20
commit
b2da5d3e62
1 changed files with 4 additions and 4 deletions
|
@ -72,15 +72,15 @@ ErrorOr<void> IntelNativeDisplayConnector::set_safe_mode_setting()
|
|||
void IntelNativeDisplayConnector::enable_console()
|
||||
{
|
||||
VERIFY(m_control_lock.is_locked());
|
||||
VERIFY(m_framebuffer_console);
|
||||
m_framebuffer_console->enable();
|
||||
if (m_framebuffer_console)
|
||||
m_framebuffer_console->enable();
|
||||
}
|
||||
|
||||
void IntelNativeDisplayConnector::disable_console()
|
||||
{
|
||||
VERIFY(m_control_lock.is_locked());
|
||||
VERIFY(m_framebuffer_console);
|
||||
m_framebuffer_console->disable();
|
||||
if (m_framebuffer_console)
|
||||
m_framebuffer_console->disable();
|
||||
}
|
||||
|
||||
ErrorOr<void> IntelNativeDisplayConnector::flush_first_surface()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue