=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Mark the system location up to date in the DIB recreation codepath.

Alexandre Julliard julliard at winehq.org
Thu Jan 9 12:52:50 CST 2014


Module: wine
Branch: master
Commit: 441d8ffeb2dc409462e15f12b1fc8043a27196f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=441d8ffeb2dc409462e15f12b1fc8043a27196f9

Author: Stefan Dösinger <stefan at 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;




More information about the wine-cvs mailing list