For most of three quarters in San Antonio, the short-handed Toronto Raptors were beating Victor Wembanyama's team in his own building. Then Wembanyama decided the game.

Wembanyama finished with 34 points, 11 rebounds, five assists, two steals and two blocks, and Dylan Harper added a career-high-tying 31 points, as the San Antonio Spurs rallied past Toronto 120-109 on Wednesday night at Frost Bank Center.

Toronto played without Scottie Barnes, RJ Barrett and Immanuel Quickley, and still led 80-73 with 3:03 left in the third quarter. Wembanyama answered with seven points the rest of the period — a three-pointer and a one-handed slam on consecutive possessions — sparking a 13-2 run that put San Antonio up 86-82 heading into the fourth. He scored 16 points in the third quarter and 24 in the second half, in his return from back tightness.

Harper closed it out, scoring 15 of his 31 points in the fourth quarter. Allen Graves led Toronto with 25 points and eight rebounds, and Jamal Shead added 23 points and nine assists.

The game was originally scheduled for Thursday and was moved up a day because San Antonio plays at Dallas on Friday in the NBA Cup quarterfinals.

Why it matters: Toronto's depth nearly stole a road game against one of the West's best, but the loss is the Raptors' second straight on this Texas back-to-back, and it underlines how thin the margin gets when Barnes, Barrett and Quickley all sit at once. For San Antonio, Wembanyama taking over a game his team was losing is becoming the routine, not the exception.