Doug McDermott and the San Antonio Spurs have agreed to a three-year, $42 million contract.

McDermott is coming off a three-year, $22 million deal he signed with the Indiana Pacers in 2018.

McDermott averaged 13.6 points, 3.4 rebounds and 1.3 assists while shooting 38.8 percent on three-pointers last season. McDermott is a career 40.7 percent three-point shooter.