Henri Verbeet : wined3d: Properly handle discarded surfaces in surface_load_location().