ddraw: Update the palette before presents to the NULL window.
This commit is contained in:
parent
88f230b56e
commit
02be2e38a8
|
@ -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)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue