[PATCH 1/4] wined3d: Remove a redundant flag in IWineD3DSurfaceImpl_SetMem().
Henri Verbeet
hverbeet at codeweavers.com
Tue Nov 16 05:09:28 CST 2010
---
dlls/wined3d/surface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 69a9efd..fa715b1 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);
--
1.7.2.2
More information about the wine-patches
mailing list