mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Kernel: Make FrameBufferDevice::try_to_set_resolution() return KResult
This commit is contained in:
parent
21bfa02dd2
commit
4ffee78146
3 changed files with 6 additions and 10 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
virtual void deactivate_writes();
|
||||
virtual void activate_writes();
|
||||
|
||||
bool try_to_set_resolution(size_t width, size_t height);
|
||||
KResult try_to_set_resolution(size_t width, size_t height);
|
||||
void clear_to_black(Buffer&);
|
||||
|
||||
size_t width() const { return display_info().rect.width; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue