mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:27:44 +00:00
WindowServer: Remove Screen::init()
This function only did one thing: call Screen::set_resolution(). We always call that function when opening the underlying device anyway, so this was completely redundant. This makes the first screen compose happen ~60ms earlier on my machine.
This commit is contained in:
parent
47c140610d
commit
693423bbe8
2 changed files with 0 additions and 6 deletions
|
@ -75,7 +75,6 @@ public:
|
|||
update_bounding_rect();
|
||||
if (!s_main_screen)
|
||||
s_main_screen = screen_ptr;
|
||||
screen_ptr->init();
|
||||
return screen_ptr;
|
||||
}
|
||||
~Screen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue