Henri Verbeet : wined3d: Pass a texture and sub-resource index to surface_upload_from_surface().