Commit 4dc28005 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Remove a redundant flag in IWineD3DSurfaceImpl_SetMem().

parent 828fd598
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment