ddraw: Update the palette before presents to the NULL window.

This commit is contained in:
Stefan Dösinger 2015-03-20 12:47:10 +01:00 committed by Alexandre Julliard
parent 88f230b56e
commit 02be2e38a8
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ HRESULT ddraw_surface_update_frontbuffer(struct ddraw_surface *surface, const RE
ERR("Failed to get surface DC, hr %#x.\n", hr);
return hr;
}
if (surface->palette)
wined3d_palette_apply_to_dc(surface->palette->wineD3DPalette, surface_dc);
if (!(screen_dc = GetDC(NULL)))
{