=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Don' t set SFLAG_INSYSMEM in surface_download_data.

Alexandre Julliard julliard at winehq.org
Tue Nov 26 15:51:44 CST 2013


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Nov 25 23:41:11 2013 +0100

wined3d: Don't set SFLAG_INSYSMEM in surface_download_data.

surface_load_location takes care of this.

---

 dlls/wined3d/surface.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 5256eb8..50bc6e7 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1671,9 +1671,6 @@ static void surface_download_data(struct wined3d_surface *surface, const struct
             HeapFree(GetProcessHeap(), 0, mem);
         }
     }
-
-    /* Surface has now been downloaded */
-    surface->flags |= SFLAG_INSYSMEM;
 }
 
 /* This call just uploads data, the caller is responsible for binding the




More information about the wine-cvs mailing list