Rockets star Kevin Durant has agreed to a two-year, $90 million contract extension, taking about $30 million less than a potential maximum deal.