Merge pull request #3894 from akallabeth/cache_to_surface_fix

Use exclusive coordinates in CacheToSurface.
This commit is contained in:
Norbert Federa 2017-03-31 12:27:34 +02:00 committed by GitHub
commit bc1c4ae7bd
1 changed files with 2 additions and 2 deletions

View File

@ -979,8 +979,8 @@ static UINT gdi_CacheToSurface(RdpgfxClientContext* context,
invalidRect.left = destPt->x;
invalidRect.top = destPt->y;
invalidRect.right = destPt->x + cacheEntry->width - 1;
invalidRect.bottom = destPt->y + cacheEntry->height - 1;
invalidRect.right = destPt->x + cacheEntry->width;
invalidRect.bottom = destPt->y + cacheEntry->height;
region16_union_rect(&surface->invalidRegion, &surface->invalidRegion,
&invalidRect);
}