mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 09:10:56 +00:00
[NtGDI] Use Vis Region for New Clip Region
Interesting results while using VBOX-GA. Rolling back to Vis, wine throwback. See CORE-16680.
This commit is contained in:
parent
9efafd640f
commit
2903022199
1 changed files with 4 additions and 1 deletions
|
@ -123,6 +123,7 @@ IntSelectClipRgn(
|
||||||
{
|
{
|
||||||
PREGION prgnClip;
|
PREGION prgnClip;
|
||||||
RECTL rcl;
|
RECTL rcl;
|
||||||
|
#if 0
|
||||||
PSURFACE pSurface;
|
PSURFACE pSurface;
|
||||||
|
|
||||||
// See IntSetDefaultRegion.
|
// See IntSetDefaultRegion.
|
||||||
|
@ -145,12 +146,14 @@ IntSelectClipRgn(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//EngReleaseSemaphore(pdc->ppdev->hsemDevLock);
|
//EngReleaseSemaphore(pdc->ppdev->hsemDevLock);
|
||||||
#if 0
|
//#if 0
|
||||||
rcl.left += dc->ptlDCOrig.x;
|
rcl.left += dc->ptlDCOrig.x;
|
||||||
rcl.top += dc->ptlDCOrig.y;
|
rcl.top += dc->ptlDCOrig.y;
|
||||||
rcl.right += dc->ptlDCOrig.x;
|
rcl.right += dc->ptlDCOrig.x;
|
||||||
rcl.bottom += dc->ptlDCOrig.y;
|
rcl.bottom += dc->ptlDCOrig.y;
|
||||||
#endif
|
#endif
|
||||||
|
REGION_GetRgnBox(dc->prgnVis, &rcl);
|
||||||
|
|
||||||
prgnClip = IntSysCreateRectpRgnIndirect(&rcl);
|
prgnClip = IntSysCreateRectpRgnIndirect(&rcl);
|
||||||
|
|
||||||
Ret = IntGdiCombineRgn(prgnNClip, prgnClip, prgn, fnMode);
|
Ret = IntGdiCombineRgn(prgnNClip, prgnClip, prgn, fnMode);
|
||||||
|
|
Loading…
Reference in a new issue