Module: wine Branch: master Commit: 4dc28005eb94da48a1bf01702b372e05aa802f07 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4dc28005eb94da48a1bf01702b...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Nov 16 12:09:28 2010 +0100
wined3d: Remove a redundant flag in IWineD3DSurfaceImpl_SetMem().
---
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);