Mavericks tune up in preseason with with over Thunder

DALLAS -- Jonathan Gibson's three-point play with 1:43 left broke a tie and put Dallas ahead to stay.

Dwight Powell scored 16 points and J.J. Barea added 15 for the Mavericks. Ersan Ilyasova had 19 points and 11 rebounds for Oklahoma City, while Kyle Singler added 17 points.

THUNDER: Russell Westbrook had 12 points and seven assists in 24 minutes. ... Enes Kanter grabbed 13 rebounds. ... Oklahoma City had 42 points at the half, then scored 40 in the third quarter alone to rally from what was a 20-point deficit.

MAVERICKS: Deron Williams scored 11 for Dallas and Dirk Nowitzki had eight in 16 minutes. ... Andrew Bogut had 11 rebounds and three blocks in 16 minutes.

UP NEXT: Oklahoma City (1-2) hosts Memphis in Tulsa, Oklahoma on Thursday. Dallas (2-2) is at Phoenix on Friday.