Attempt to fix set palette issue. See bug 733.

svn path=/trunk/; revision=34228
This commit is contained in:
James Tabor
2008-07-01 03:39:12 +00:00
parent 388fc6e94e
commit 5f35dd6071
@@ -555,13 +555,14 @@ UINT FASTCALL IntGdiRealizePalette(HDC hDC)
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