mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[WIN32K]
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
This commit is contained in:
@@ -171,11 +171,11 @@ CreateDIBPalette(
|
||||
/* 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
|
||||
ASSERT(FALSE);
|
||||
}
|
||||
// ASSERT(FALSE);
|
||||
// }
|
||||
else // if (iUsage == DIB_RGB_COLORS)
|
||||
{
|
||||
/* The colors are an array of RGBQUAD values */
|
||||
|
||||
Reference in New Issue
Block a user