mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 16:07:42 +00:00
Call CLIPPING_UpdateGCRegion every time we update clip region.
svn path=/trunk/; revision=18694
This commit is contained in:
parent
f86f34bda5
commit
b3fdbe1277
2 changed files with 3 additions and 0 deletions
|
@ -782,7 +782,9 @@ DceResetActiveDCEs(PWINDOW_OBJECT Window)
|
|||
}
|
||||
if (NULL != dc->w.hClipRgn)
|
||||
{
|
||||
int FASTCALL CLIPPING_UpdateGCRegion(DC* Dc);
|
||||
NtGdiOffsetRgn(dc->w.hClipRgn, DeltaX, DeltaY);
|
||||
CLIPPING_UpdateGCRegion(dc);
|
||||
}
|
||||
if (NULL != pDCE->hClipRgn)
|
||||
{
|
||||
|
|
|
@ -348,6 +348,7 @@ int STDCALL NtGdiOffsetClipRgn(HDC hDC,
|
|||
Result = NtGdiOffsetRgn(dc->w.hClipRgn,
|
||||
XOffset,
|
||||
YOffset);
|
||||
CLIPPING_UpdateGCRegion(dc);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue