From 4dc28005eb94da48a1bf01702b372e05aa802f07 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 16 Nov 2010 12:09:28 +0100 Subject: [PATCH] wined3d: Remove a redundant flag in IWineD3DSurfaceImpl_SetMem(). --- dlls/wined3d/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 69a9efd69e0..fa715b11dec 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2612,7 +2612,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_SetMem(IWineD3DSurface *iface, void *M This->resource.heapMemory = NULL; } This->resource.allocatedMemory = Mem; - This->flags |= SFLAG_USERPTR | SFLAG_INSYSMEM; + This->flags |= SFLAG_USERPTR; /* Now the surface memory is most up do date. Invalidate drawable and texture */ surface_modify_location(This, SFLAG_INSYSMEM, TRUE); -- 2.11.4.GIT