diff --git a/win32ss/gdi/ntgdi/palette.c b/win32ss/gdi/ntgdi/palette.c index ec92c28721..11c6e2ad83 100644 --- a/win32ss/gdi/ntgdi/palette.c +++ b/win32ss/gdi/ntgdi/palette.c @@ -774,7 +774,16 @@ IntGdiRealizePalette(HDC hDC) for (i=0; iIndexedColors[i], *(LONG*)&ppalDC->IndexedColors[i]); +// InterlockedExchange((LONG*)&ppalSurf->IndexedColors[i], *(LONG*)&ppalDC->IndexedColors[i]); + } + + if(pdc->dctype == DC_TYPE_MEMORY) + { + DPRINT1("RealizePalette unimplemented for memory managed DCs\n"); + } + else + { + DPRINT1("RealizePalette unimplemented for device DCs\n"); } cleanup: