Author: tkreuzer Date: Mon May 7 22:57:41 2012 New Revision: 56537
URL: http://svn.reactos.org/svn/reactos?rev=56537&view=rev Log: [WIN32K] Don't assert on DIB brushes with BR_IS_DIBPALCOLORS, since we already handle this properly.
Modified: trunk/reactos/win32ss/gdi/eng/engbrush.c
Modified: trunk/reactos/win32ss/gdi/eng/engbrush.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/engbrush.c?... ============================================================================== --- trunk/reactos/win32ss/gdi/eng/engbrush.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/eng/engbrush.c [iso-8859-1] Mon May 7 22:57:41 2012 @@ -309,7 +309,7 @@ /* 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; }