Commit 02be2e38 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

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

parent 88f230b5
......@@ -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)))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment