Henri Verbeet : wined3d: Pass an IWineD3DResourceImpl pointer to resource_cleanup().