Use GDISelectPalette16 instead of SelectPalette and

GDIRealizePalette16 instead of RealizePalette in order to get rid of
possible deadlocks.
This commit is contained in:
Andreas Mohr 2000-11-01 21:35:00 +00:00 committed by Alexandre Julliard
parent 908464d448
commit 826de2bbcc

View file

@ -1009,7 +1009,7 @@ void WINAPI PlayMetaFileRecord16(
break;
case META_SELECTPALETTE:
SelectPalette(hdc, *(ht->objectHandle + *(mr->rdParm+1)),
GDISelectPalette16(hdc, *(ht->objectHandle + *(mr->rdParm+1)),
*(mr->rdParm));
break;
@ -1018,7 +1018,7 @@ void WINAPI PlayMetaFileRecord16(
break;
case META_REALIZEPALETTE:
RealizePalette(hdc);
GDIRealizePalette16(hdc);
break;
case META_ESCAPE: