wined3d: Remove a redundant flag in IWineD3DSurfaceImpl_SetMem().

This commit is contained in:
Henri Verbeet 2010-11-16 12:09:28 +01:00 committed by Alexandre Julliard
parent 828fd598b0
commit 4dc28005eb
1 changed files with 1 additions and 1 deletions

View File

@ -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);