mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
WindowServer: New API for Scaled Blit
This commit is contained in:
parent
90d924a97c
commit
908d9458c7
4 changed files with 6 additions and 6 deletions
|
@ -107,7 +107,7 @@ void WSCompositor::compose()
|
|||
float hscale = (float)m_wallpaper->size().width() / (float)ws.size().width();
|
||||
float vscale = (float)m_wallpaper->size().height() / (float)ws.size().height();
|
||||
|
||||
m_back_painter->blit_scaled(dirty_rect.location(), *m_wallpaper, dirty_rect, hscale, vscale);
|
||||
m_back_painter->blit_scaled(dirty_rect, *m_wallpaper, dirty_rect, hscale, vscale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue