diff --git a/win32ss/gdi/ntgdi/dibobj.c b/win32ss/gdi/ntgdi/dibobj.c index 2e8acd302a4..f7d52ab9e49 100644 --- a/win32ss/gdi/ntgdi/dibobj.c +++ b/win32ss/gdi/ntgdi/dibobj.c @@ -63,7 +63,7 @@ CreateDIBPalette( cColors = 1 << cBitsPixel; /* Allocate the palette */ - ppal = PALETTE_AllocPalette(PAL_INDEXED, + ppal = PALETTE_AllocPalette(PAL_INDEXED | PAL_DIBSECTION, cColors, NULL, 0, @@ -221,7 +221,7 @@ CreateDIBPalette( } /* Allocate the bitfield palette */ - ppal = PALETTE_AllocPalette(PAL_BITFIELDS, + ppal = PALETTE_AllocPalette(PAL_BITFIELDS | PAL_DIBSECTION, 0, NULL, flRedMask,