From 0ea604d8d67f088544e88693772afa6bb363ba73 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 7 May 2012 22:57:41 +0000 Subject: [PATCH] [WIN32K] Don't assert on DIB brushes with BR_IS_DIBPALCOLORS, since we already handle this properly. svn path=/trunk/; revision=56537 --- reactos/win32ss/gdi/eng/engbrush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/win32ss/gdi/eng/engbrush.c b/reactos/win32ss/gdi/eng/engbrush.c index d709af677e5..7c752caa3b9 100644 --- a/reactos/win32ss/gdi/eng/engbrush.c +++ b/reactos/win32ss/gdi/eng/engbrush.c @@ -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; }