Don't assert on DIB brushes with BR_IS_DIBPALCOLORS, since we already handle this properly.

svn path=/trunk/; revision=56537
This commit is contained in:
Timo Kreuzer 2012-05-07 22:57:41 +00:00
parent b1305c8589
commit 0ea604d8d6

View file

@ -309,7 +309,7 @@ EBRUSHOBJ_bRealizeBrush(EBRUSHOBJ *pebo, BOOL bCallDriver)
/* DIB brushes with DIB_PAL_COLORS usage need a new palette */
if (pbr->flAttrs & BR_IS_DIBPALCOLORS)
{
ASSERT(FALSE);
/* Create a palette with the colors from the DC */
ppalPattern = FixupDIBBrushPalette(psurfPattern->ppal, pebo->ppalDC);
pebo->ppalDIB = ppalPattern;
}