mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #3894 from akallabeth/cache_to_surface_fix
Use exclusive coordinates in CacheToSurface.
This commit is contained in:
commit
bc1c4ae7bd
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue