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

This commit is contained in:
Stefan Dösinger 2014-01-09 13:43:21 +01:00 committed by Alexandre Julliard
parent db6d3c500c
commit 441d8ffeb2
1 changed files with 1 additions and 0 deletions

View File

@ -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;