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
1 changed files with 2 additions and 2 deletions

View File

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