Author: gschneider
Date: Tue Dec 22 17:02:49 2009
New Revision: 44711
URL: 
http://svn.reactos.org/svn/reactos?rev=44711&view=rev
Log:
[win32k] Remove palette flag validation for get/setPaletteEntries
Modified:
    trunk/reactos/subsystems/win32/win32k/objects/palette.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/palette.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/palette.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/palette.c [iso-8859-1] Tue Dec 22
17:02:49 2009
@@ -847,13 +847,6 @@
             return 0;
         }
         memcpy(pe, palGDI->IndexedColors + StartIndex, Entries *
sizeof(PALETTEENTRY));
-        for (numEntries = 0; numEntries < Entries; numEntries++)
-        {
-            if (pe[numEntries].peFlags & 0xF0)
-            {
-                pe[numEntries].peFlags = 0;
-            }
-        }
     }
     else
     {
@@ -959,7 +952,6 @@
         Entries = numEntries - Start;
     }
     memcpy(palGDI->IndexedColors + Start, pe, Entries * sizeof(PALETTEENTRY));
-    PALETTE_ValidateFlags(palGDI->IndexedColors, palGDI->NumColors);
     PALETTE_UnlockPalette(palGDI);
     return Entries;