Someone passes iUsage == 2, so don't assert in that case, but ignore it as long as it's not supported.
svn path=/trunk/; revision=56520
/* Mark the palette as a brush hack palette */
ppal->flFlags |= PAL_BRUSHHACK;
}
/* Mark the palette as a brush hack palette */
ppal->flFlags |= PAL_BRUSHHACK;
}
- else if (iUsage == 2)
- {
+// else if (iUsage == 2)
+// {
// FIXME: this one is undocumented
// FIXME: this one is undocumented
else // if (iUsage == DIB_RGB_COLORS)
{
/* The colors are an array of RGBQUAD values */
else // if (iUsage == DIB_RGB_COLORS)
{
/* The colors are an array of RGBQUAD values */