Call CLIPPING_UpdateGCRegion every time we update clip region.
Modified: trunk/reactos/subsys/win32k/ntuser/windc.c
Modified: trunk/reactos/subsys/win32k/objects/cliprgn.c
_____
Modified: trunk/reactos/subsys/win32k/ntuser/windc.c
--- trunk/reactos/subsys/win32k/ntuser/windc.c 2005-10-23 06:19:15 UTC
(rev 18693)
+++ trunk/reactos/subsys/win32k/ntuser/windc.c 2005-10-23 09:54:12 UTC
(rev 18694)
@@ -782,7 +782,9 @@
}
if (NULL != dc->w.hClipRgn)
{
+ int FASTCALL CLIPPING_UpdateGCRegion(DC* Dc);
NtGdiOffsetRgn(dc->w.hClipRgn, DeltaX, DeltaY);
+ CLIPPING_UpdateGCRegion(dc);
}
if (NULL != pDCE->hClipRgn)
{
_____
Modified: trunk/reactos/subsys/win32k/objects/cliprgn.c
--- trunk/reactos/subsys/win32k/objects/cliprgn.c 2005-10-23
06:19:15 UTC (rev 18693)
+++ trunk/reactos/subsys/win32k/objects/cliprgn.c 2005-10-23
09:54:12 UTC (rev 18694)
@@ -348,6 +348,7 @@
Result = NtGdiOffsetRgn(dc->w.hClipRgn,
XOffset,
YOffset);
+ CLIPPING_UpdateGCRegion(dc);
}
else
{