Module: wine Branch: master Commit: 441d8ffeb2dc409462e15f12b1fc8043a27196f9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=441d8ffeb2dc409462e15f12b1...
Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jan 9 13:43:21 2014 +0100
wined3d: Mark the system location up to date in the DIB recreation codepath.
---
dlls/wined3d/surface.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f3bb04c..a7c9d5c 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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;