mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
WindowServer: Don't waste time pre-filling windows with background color.
There's a subsequent pass that fills whatever the backing store didn't cover anyway, just a few lines later. This was all wasted work.
This commit is contained in:
parent
f61549ca5f
commit
311019d8ee
1 changed files with 0 additions and 1 deletions
|
@ -777,7 +777,6 @@ void WSWindowManager::compose()
|
|||
auto dst = window.position();
|
||||
dst.move_by(dirty_rect_in_window_coordinates.location());
|
||||
|
||||
m_back_painter->fill_rect(window.rect(), window.background_color());
|
||||
m_back_painter->blit(dst, *backing_store, dirty_rect_in_window_coordinates, window.opacity());
|
||||
|
||||
if (backing_store->width() < window.width()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue