mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Allocate fonts and regions from the large heap too.
This commit is contained in:
parent
514f432031
commit
98eacd5426
1 changed files with 2 additions and 0 deletions
|
@ -743,6 +743,8 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle, const struct gdi_
|
||||||
case MEMORY_DC_MAGIC:
|
case MEMORY_DC_MAGIC:
|
||||||
case BITMAP_MAGIC:
|
case BITMAP_MAGIC:
|
||||||
case PALETTE_MAGIC:
|
case PALETTE_MAGIC:
|
||||||
|
case FONT_MAGIC:
|
||||||
|
case REGION_MAGIC:
|
||||||
if (!(obj = alloc_large_heap( size, handle ))) goto error;
|
if (!(obj = alloc_large_heap( size, handle ))) goto error;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue