Allocate palette objects on the large gdi heap.
This commit is contained in:
parent
b4a3f1dc68
commit
e8d7f24fc0
objects
|
@ -693,6 +693,7 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle, const struct gdi_
|
|||
case ENHMETAFILE_MAGIC:
|
||||
case ENHMETAFILE_DC_MAGIC:
|
||||
case BITMAP_MAGIC:
|
||||
case PALETTE_MAGIC:
|
||||
if (!(obj = alloc_large_heap( size, handle ))) goto error;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue