mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
[WIN32K]
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:
parent
b1305c8589
commit
0ea604d8d6
|
@ -309,7 +309,7 @@ EBRUSHOBJ_bRealizeBrush(EBRUSHOBJ *pebo, BOOL bCallDriver)
|
||||||
/* DIB brushes with DIB_PAL_COLORS usage need a new palette */
|
/* DIB brushes with DIB_PAL_COLORS usage need a new palette */
|
||||||
if (pbr->flAttrs & BR_IS_DIBPALCOLORS)
|
if (pbr->flAttrs & BR_IS_DIBPALCOLORS)
|
||||||
{
|
{
|
||||||
ASSERT(FALSE);
|
/* Create a palette with the colors from the DC */
|
||||||
ppalPattern = FixupDIBBrushPalette(psurfPattern->ppal, pebo->ppalDC);
|
ppalPattern = FixupDIBBrushPalette(psurfPattern->ppal, pebo->ppalDC);
|
||||||
pebo->ppalDIB = ppalPattern;
|
pebo->ppalDIB = ppalPattern;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue