Allocate bitmap objects in the large heap area.
This commit is contained in:
parent
f493c52209
commit
035d454d8d
|
@ -394,6 +394,7 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle )
|
||||||
case METAFILE_DC_MAGIC:
|
case METAFILE_DC_MAGIC:
|
||||||
case ENHMETAFILE_MAGIC:
|
case ENHMETAFILE_MAGIC:
|
||||||
case ENHMETAFILE_DC_MAGIC:
|
case ENHMETAFILE_DC_MAGIC:
|
||||||
|
case BITMAP_MAGIC:
|
||||||
if (!(obj = alloc_large_heap( size, handle ))) goto error;
|
if (!(obj = alloc_large_heap( size, handle ))) goto error;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue