Author: jgardou
Date: Fri Mar 22 16:08:08 2013
New Revision: 58577
URL:
http://svn.reactos.org/svn/reactos?rev=58577&view=rev
Log:
[WIN32K]
* Do not alter the display palette in RealizePalette.
CORE-6940 #comment r58577 should hack this away
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] Fri Mar 22 16:08:08 2013
@@ -771,6 +771,12 @@
{
goto cleanup;
}
+
+ if(pdc->dctype == DCTYPE_DIRECT)
+ {
+ UNIMPLEMENTED;
+ goto cleanup;
+ }
ppalSurf = pdc->dclevel.pSurface->ppal;
ppalDC = pdc->dclevel.ppal;