make sure we don't update the palette twice

This commit is contained in:
FunkyFr3sh 2024-12-16 21:33:05 +01:00
parent bbe8c4f857
commit 39b2e69540
3 changed files with 17 additions and 1 deletions

View file

@ -1460,7 +1460,7 @@ UINT WINAPI fake_RealizePalette(HDC hdc)
ddp_SetEntries(
g_ddraw.primary->palette,
0,
DDPCAPS_REFRESH_CHANGED_ONLY,
0,
g_ddraw.primary->selected_pal_count,
g_ddraw.primary->selected_pal);