diff options
Diffstat (limited to 'Kernel/Graphics/Intel/NativeDisplayConnector.cpp')
-rw-r--r-- | Kernel/Graphics/Intel/NativeDisplayConnector.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Graphics/Intel/NativeDisplayConnector.cpp b/Kernel/Graphics/Intel/NativeDisplayConnector.cpp index 2a7c8d6693..d25f8c6f6a 100644 --- a/Kernel/Graphics/Intel/NativeDisplayConnector.cpp +++ b/Kernel/Graphics/Intel/NativeDisplayConnector.cpp @@ -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() |