mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Kernel/Graphics: Simplify the GenericGraphicsAdapter class
The old methods are already can be considered deprecated, and now after we removed framebuffer devices entirely, we can safely remove these methods too, which simplfies the GenericGraphicsAdapter class a lot.
This commit is contained in:
parent
d49a35df31
commit
b96b2fb9be
7 changed files with 3 additions and 89 deletions
|
@ -71,11 +71,4 @@ bool BochsGraphicsAdapter::vga_compatible() const
|
|||
return m_is_vga_capable;
|
||||
}
|
||||
|
||||
ErrorOr<ByteBuffer> BochsGraphicsAdapter::get_edid(size_t output_port_index) const
|
||||
{
|
||||
if (output_port_index != 0)
|
||||
return Error::from_errno(ENODEV);
|
||||
return m_display_connector->get_edid();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue