[ros-diffs] [jimtabor] 34228: Attempt to fix set palette issue. See bug 733.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Tue Jul 1 05:39:12 CEST 2008


Author: jimtabor
Date: Mon Jun 30 22:39:12 2008
New Revision: 34228

URL: http://svn.reactos.org/svn/reactos?rev=34228&view=rev
Log:
Attempt to fix set palette issue. See bug 733.

Modified:
    trunk/reactos/subsystems/win32/win32k/objects/color.c

Modified: trunk/reactos/subsystems/win32/win32k/objects/color.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/color.c?rev=34228&r1=34227&r2=34228&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/color.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/color.c [iso-8859-1] Mon Jun 30 22:39:12 2008
@@ -555,13 +555,14 @@
 	success = ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette(
 		dc->PDev, sysPtr, 0, 0, sysGDI->NumColors);
 
-  } else {
+/* See bug 733, keep the code for now.
+   } else {
     if( ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette)
     {
       ASSERT(palGDI->NumColors <= 256);
       success = ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette(
         dc->PDev, palPtr, 0, 0, palGDI->NumColors);
-    }
+    }*/
   }
 
   // need to pass this to IntEngCreateXlate with palettes unlocked



More information about the Ros-diffs mailing list