mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Use GDISelectPalette16 instead of SelectPalette and
GDIRealizePalette16 instead of RealizePalette in order to get rid of possible deadlocks.
This commit is contained in:
parent
908464d448
commit
826de2bbcc
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue