[ros-diffs] [tkreuzer] 56547: [WIN32K] Mark dc brushes in GreGetSetColorTable as dirty Fixes gdi32_winetest bitmap regression

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed May 9 08:08:11 UTC 2012


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.c?rev=56547&r1=56546&r2=56547&view=diff
==============================================================================
--- 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
         {




More information about the Ros-diffs mailing list