Kernel/Graphics: Don't assert when disabling TextModeConsole

Not sure how it's useful to do so, let's not assert if something tries
to disable it. If we will use TextModeConsole as a boot console, that
console will be disabled after loading an appropriate console to replace
it.
This commit is contained in:
Liav A 2022-02-09 21:00:39 +02:00 committed by Linus Groh
commit 278b0aa629
Notes: sideshowbarker 2024-07-17 19:05:14 +09:00

View file

@ -31,7 +31,7 @@ public:
virtual void flush(size_t, size_t, size_t, size_t) override { }
virtual void enable() override { }
virtual void disable() override { VERIFY_NOT_REACHED(); }
virtual void disable() override { }
private:
void clear_vga_row(u16 row);