mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
EngCreateClip must allocate CLIPGDI, not only CLIPOBJ
svn path=/trunk/; revision=33739
This commit is contained in:
parent
492a434c2b
commit
cf00bb3cc7
|
@ -266,7 +266,7 @@ IntEngCreateClipRegion(ULONG count, PRECTL pRect, PRECTL rcBounds)
|
|||
CLIPOBJ * STDCALL
|
||||
EngCreateClip(VOID)
|
||||
{
|
||||
CLIPGDI *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPOBJ), TAG_CLIPOBJ);
|
||||
CLIPGDI *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPGDI), TAG_CLIPOBJ);
|
||||
if(Clip != NULL)
|
||||
{
|
||||
return GDIToObj(Clip, CLIP);
|
||||
|
|
Loading…
Reference in a new issue