mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[WIN32K]
Add some more debug output in case of a failed ASSERT svn path=/trunk/; revision=52091
This commit is contained in:
parent
83aed0697f
commit
a0f9149ce9
1 changed files with 7 additions and 0 deletions
|
@ -139,6 +139,13 @@ GdiPoolAllocate(
|
|||
/* Get a free section */
|
||||
ple = pPool->leReadyList.Flink;
|
||||
pSection = CONTAINING_RECORD(ple, GDI_POOL_SECTION, leReadyLink);
|
||||
if (pSection->cAllocCount >= pPool->cSlotsPerSection)
|
||||
{
|
||||
DPRINT1("pSection->cAllocCount=%ld, pPool->cSlotsPerSection=%ld\n",
|
||||
pSection->cAllocCount, pPool->cSlotsPerSection);
|
||||
DBG_DUMP_EVENT_LIST(&pPool->slhLog);
|
||||
ASSERT(FALSE);
|
||||
}
|
||||
ASSERT(pSection->cAllocCount < pPool->cSlotsPerSection);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue