mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Call CLIPPING_UpdateGCRegion every time we update clip region.
svn path=/trunk/; revision=18694
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user