By Ricky Hester

The Associated Press

PULLMAN, Wash. — ­Oregon State won ugly, beating Washington State 85-77 on Saturday afternoon to clinch a first-round bye in the upcoming Pac-12 Tournament.

Tres Tinkle scored 26 points and grabbed 12 rebounds as the Beavers came up big on defense late in the second half to spoil the Cougars’ senior night.

“It wasn’t a thing of beauty but our guys stepped up when we needed them to and we showed great toughness,” Oregon State coach Wayne Tinkle said. “They kept fighting and I couldn’t be more proud of this group.”

Stephen Thompson Jr. added 26 points for the Beavers (10-8 Pac-12, 18-12 overall). Ethan Thompson scored 17 points with 11 assists and five rebounds and Kylor Kelley added 10 points.

Oregon State is 11-0 this season and 6-0 in conference play when four or five players score in double figures.

Robert Franks scored a career-high 37 points and grabbed nine rebounds for Washington State (4-14, 11-20), which has lost five straight. Jeff Pollard added 13 points and C.J. Elleby grabbed 12 rebounds.

“(Franks) is just one of those special players and he wasn’t that way when he came into the program but to his credit he developed himself into that,” WSU coach Ernie Kent said.

Oregon State took its first lead, 46-45, in the opening minutes of the second half after an 8-0 run capped by Kelley’s 3-point play.

Thompson Jr.’s jumper and 3-pointer capped a 7-0 run for Oregon State over 2:24 and the Beavers blew the game open with a 10-0 run over 2:14. Back-to-back 3’s from Zach Reichle and Thompson Jr. sparked the run and Alfred Hollins’ jumper gave OSU a 16-point lead with five minutes remaining.

WSU closed to within six points with 27 seconds left on Franks’ 3 and two free throws, but the Cougars got no closer.