mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[WIN32K:NTGDI] Fix ASSERTS in REGION_bXformRgn. CORE-15992
This commit is contained in:
parent
eefc544202
commit
c1ec0d92e2
1 changed files with 3 additions and 6 deletions
|
@ -2084,7 +2084,7 @@ REGION_bXformRgn(
|
|||
_In_ PMATRIX pmx)
|
||||
{
|
||||
XFORMOBJ xo;
|
||||
ULONG i, j, cjSize;
|
||||
ULONG i, cjSize;
|
||||
PPOINT ppt;
|
||||
PULONG pcPoints;
|
||||
RECT rect;
|
||||
|
@ -2149,11 +2149,8 @@ REGION_bXformRgn(
|
|||
/* Loop all rects in the region */
|
||||
for (i = 0; i < prgn->rdh.nCount - 1; i++)
|
||||
{
|
||||
for (j = i; i < prgn->rdh.nCount; i++)
|
||||
{
|
||||
NT_ASSERT(prgn->Buffer[i].top < prgn->Buffer[i].bottom);
|
||||
NT_ASSERT(prgn->Buffer[j].top >= prgn->Buffer[i].top);
|
||||
}
|
||||
NT_ASSERT(prgn->Buffer[i].top <= prgn->Buffer[i].bottom);
|
||||
NT_ASSERT(prgn->Buffer[i + 1].top >= prgn->Buffer[i].top);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue