mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1152838 - Correctly inflate valid regions to tile boundaries. r=mattwoodrow
This commit is contained in:
parent
923e86042f
commit
c2e3306249
@ -426,7 +426,7 @@ ClientTiledPaintedLayer::RenderLayer()
|
||||
// we always have valid content or transparent pixels to sample from.
|
||||
nsIntRect bounds = neededRegion.GetBounds();
|
||||
nsIntRect wholeTiles = bounds;
|
||||
wholeTiles.Inflate(nsIntSize(
|
||||
wholeTiles.InflateToMultiple(nsIntSize(
|
||||
gfxPlatform::GetPlatform()->GetTileWidth(),
|
||||
gfxPlatform::GetPlatform()->GetTileHeight()));
|
||||
nsIntRect padded = bounds;
|
||||
|
Loading…
Reference in New Issue
Block a user