Author: tkreuzer
Date: Wed May 9 08:08:09 2012
New Revision: 56547
URL:
http://svn.reactos.org/svn/reactos?rev=56547&view=rev
Log:
[WIN32K]
Mark dc brushes in GreGetSetColorTable as dirty
Fixes gdi32_winetest bitmap regression
Modified:
trunk/reactos/win32ss/gdi/ntgdi/palette.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/palette.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/palette.…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/palette.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/palette.c [iso-8859-1] Wed May 9 08:08:09 2012
@@ -1044,6 +1044,10 @@
ppal->IndexedColors[i].peGreen = prgbColors->rgbGreen;
ppal->IndexedColors[i].peBlue = prgbColors->rgbBlue;
}
+
+ /* Mark the dc brushes invalid */
+ pdc->pdcattr->ulDirty_ |= DIRTY_FILL|DIRTY_LINE|
+ DIRTY_BACKGROUND|DIRTY_TEXT;
}
else
{