Commit e8d7f24f authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Allocate palette objects on the large gdi heap.

parent b4a3f1dc
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment