Henri Verbeet : wined3d: Merge the wined3d_surface_flip() implementations.