TORONTO — Wayne Ellington made a go-ahead driving layup with less than a second remaining and the Miami Heat stopped Toronto’s 12-game home winning streak with a 90-89 victory Tuesday night.

It was the only basket of the second half for Ellington, who finished with 15 points.

Goran Dragic had 24 points and 12 rebounds as Miami extended its season-best winning streak to five. Bam Adebayo had 16 points and a career-high 15 rebounds, and Hassan Whiteside collected 13 points and 15 boards for the Heat, who had dropped their previous five visits to Toronto.

The Raptors were without point guard Kyle Lowry after he bruised his tailbone during Monday night’s overtime victory at Brooklyn.

TRAIL BLAZERS 117, THUNDER 106: C.J. McCollum had 27 points and seven assists, and Portland won at Oklahoma City in the opener of a four-game trip.

Shabazz Napier added 21 points, and Jusuf Nurkic had 20 points and eight rebounds for Portland, which moved past Oklahoma City into second in the Northwest Division standings with its seventh win in its last nine games against the Thunder.

MAVERICKS 114, MAGIC 99: Dirk Nowitzki and rookie Dennis Smith Jr. each scored 20 points, and Dallas won at home to stop a three-game slide.

Wesley Matthews had 16 points for Dallas, which got its first win since Dec. 31 against Oklahoma City.

NOTES

BULLS: Guard Zach LaVine, obtained from Minnesota in a draft-day trade, will make his Chicago debut Saturday, 11 months after surgery on a torn ACL in his left knee.