Henri Verbeet : wined3d: Merge the texture implementations.