[PATCH 4/5] wined3d: Don't evict sysmem in surface_load.

Stefan Dösinger stefan at codeweavers.com
Thu Oct 3 17:03:20 CDT 2013


surface_load_location alreay takes care of this.
---
 dlls/wined3d/surface.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 192163c..0ad5915 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2519,7 +2519,6 @@ HRESULT surface_load(struct wined3d_surface *surface, BOOL srgb)
 
     /* No partial locking for textures yet. */
     surface_load_location(surface, flag, NULL);
-    surface_evict_sysmem(surface);
 
     return WINED3D_OK;
 }
-- 
1.8.1.5




More information about the wine-patches mailing list