Henri Verbeet : wined3d: Explicitly calculate the sub-resource level in wined3d_surface_upload_data ().