Stefan Dösinger : wined3d: Don' t set SFLAG_INSYSMEM in surface_download_data.
Module: wine Branch: master Commit: 038e45c6624443be1c594d280a5f3831994d96e9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=038e45c6624443be1c594d280a... Author: Stefan Dösinger <stefan(a)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
participants (1)
-
Alexandre Julliard