Commit 441d8ffe authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Mark the system location up to date in the DIB recreation codepath.

parent db6d3c50
......@@ -2760,6 +2760,7 @@ HRESULT CDECL wined3d_surface_update_desc(struct wined3d_surface *surface,
return hr;
}
surface->resource.allocatedMemory = surface->dib.bitmap_data;
surface->flags |= SFLAG_INSYSMEM;
}
else if (!surface_init_sysmem(surface))
return E_OUTOFMEMORY;
......
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