1
Fork 0
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:
Christopher Dumas 2019-06-06 08:34:13 -07:00 committed by Andreas Kling
parent 90d924a97c
commit 908d9458c7
4 changed files with 6 additions and 6 deletions

View file

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