[ros-diffs] [tkreuzer] 56537: [WIN32K] Don't assert on DIB brushes with BR_IS_DIBPALCOLORS, since we already handle this properly.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon May 7 22:57:41 UTC 2012


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?rev=56537&r1=56536&r2=56537&view=diff
==============================================================================
--- 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;
     }




More information about the Ros-diffs mailing list