mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[0.4.13][NtGDI] Use Vis Region for New Clip Region CORE-16680
Fixes a regression on drawing Wnd background in Solitaire with VBOX Guest Additions GPU driver with enabled acceleration Rolling back to Vis, wine throwback. See CORE-16680. Regression was introduced by 0.4.13-RC-40-g63f46f3fde
Fix was cherry picked from commit 0.4.14-dev-935-g2903022199
This commit is contained in:
parent
c6b2f3a11b
commit
05225f1d20
|
@ -123,6 +123,7 @@ IntSelectClipRgn(
|
|||
{
|
||||
PREGION prgnClip;
|
||||
RECTL rcl;
|
||||
#if 0
|
||||
PSURFACE pSurface;
|
||||
|
||||
// See IntSetDefaultRegion.
|
||||
|
@ -145,12 +146,14 @@ IntSelectClipRgn(
|
|||
}
|
||||
}
|
||||
//EngReleaseSemaphore(pdc->ppdev->hsemDevLock);
|
||||
#if 0
|
||||
//#if 0
|
||||
rcl.left += dc->ptlDCOrig.x;
|
||||
rcl.top += dc->ptlDCOrig.y;
|
||||
rcl.right += dc->ptlDCOrig.x;
|
||||
rcl.bottom += dc->ptlDCOrig.y;
|
||||
#endif
|
||||
REGION_GetRgnBox(dc->prgnVis, &rcl);
|
||||
|
||||
prgnClip = IntSysCreateRectpRgnIndirect(&rcl);
|
||||
|
||||
Ret = IntGdiCombineRgn(prgnNClip, prgnClip, prgn, fnMode);
|
||||
|
|
Loading…
Reference in a new issue