diff options
author | Liav A <liavalb@gmail.com> | 2021-09-21 09:43:06 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-27 07:57:44 +0300 |
commit | a9538b5879e910f26f3b2ac205ad8999d762192b (patch) | |
tree | 05d71081fb83c787e51793b736545cc947a0dcf3 /Kernel/Graphics/VirtIOGPU | |
parent | fb0ed2ae46504de82702130894c51e81fbab095f (diff) | |
download | serenity-a9538b5879e910f26f3b2ac205ad8999d762192b.zip |
Kernel/Graphics: Convert type method => bool vga compatible method
We never used that type method except in initialization in
GraphicsManagement, and we used it there to query whether the device is
VGA compatible or not.
Diffstat (limited to 'Kernel/Graphics/VirtIOGPU')
-rw-r--r-- | Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h index 8ebaf78e72..69d3f35230 100644 --- a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h +++ b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h @@ -22,12 +22,13 @@ public: virtual bool framebuffer_devices_initialized() const override { return m_created_framebuffer_devices; } + // FIXME: There's a VirtIO VGA GPU variant, so we should consider that + virtual bool vga_compatible() const override { return false; } + private: explicit GraphicsAdapter(PCI::DeviceIdentifier const&); virtual void initialize_framebuffer_devices() override; - virtual Type type() const override { return Type::Raw; } - virtual void enable_consoles() override; virtual void disable_consoles() override; |