diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-19 11:05:21 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-19 11:05:21 +0200 |
commit | 96f10c8de2a519db92e087fd660f27c1aaa5563f (patch) | |
tree | 6cd85dba232fa8cfe0eb36ce34c69216974004bb /Servers/WindowServer | |
parent | 762f20944c1340c182ec8930f95ccb000385b918 (diff) | |
download | serenity-96f10c8de2a519db92e087fd660f27c1aaa5563f.zip |
LibDraw: Rename Painter::blit_tiled() => draw_tiled_bitmap()
Also change the API to take a destination rect instead of a source rect
since internally it was basically creating a destination rect from the
source rect anyway. It was a little confusing.
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r-- | Servers/WindowServer/WSCompositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSCompositor.cpp b/Servers/WindowServer/WSCompositor.cpp index 31b59ad412..1ccc4acf5a 100644 --- a/Servers/WindowServer/WSCompositor.cpp +++ b/Servers/WindowServer/WSCompositor.cpp @@ -120,7 +120,7 @@ void WSCompositor::compose() m_back_painter->blit_offset(dirty_rect.location(), *m_wallpaper, dirty_rect, offset); } else if (m_wallpaper_mode == WallpaperMode::Tile) { - m_back_painter->blit_tiled(dirty_rect.location(), *m_wallpaper, dirty_rect); + m_back_painter->draw_tiled_bitmap(dirty_rect, *m_wallpaper); } else { float hscale = (float)m_wallpaper->size().width() / (float)ws.size().width(); float vscale = (float)m_wallpaper->size().height() / (float)ws.size().height(); |