McGloin, starting in place of the injured Terrelle Pryor, completed 18-of-32 passes for 197 yards.
Rashad Jennings reeled off a 80-yard touchdown run late in the third quarter to finish with 150 rushing yards. His play gave the Raiders a 28-17 lead.
Houston moved to the Raiders' 2-yard line in the closing seconds, but a holding penalty and Schaub's incomplete pass on fourth-and-7 sealed the Texans' loss.
McPhee, Cokas 'working on their marriage' after affair
Attkisson leaves CBS News, reportedly over network's 'liberal bias'