1
Fork 0
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:
Andreas Kling 2021-10-22 01:21:34 +02:00
parent 21bfa02dd2
commit 4ffee78146
3 changed files with 6 additions and 10 deletions

View file

@ -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; }